Commit Graph

184 Commits

Author SHA1 Message Date
Mike Conley
ca7d1a4482 Bug 1148012 - Expose run ID through nsIObjectLoadingContent.idl. r=josh,smaug.
The run ID for a plugin is retrieved and cached in the nsObjectLoadingContent
on plugin instantiation.
2015-03-17 13:28:32 -04:00
Mike Conley
65a98b8305 Bug 1148012 - Add a run ID for plugins to differentiate subsequent runs of the same plugins. r=jimm.
Normally, this could be served by the process ID of a plugin, however, run ID is meant
to be consumed by multi-process browser chrome code for telling different runs of a
plugin apart (for example, for searching the DOM for a crashed instance of a plugin,
while ensuring that we don't accidentally find newly spawned instances that have not
crashed). Exposing something as low-level as the process ID to browser chrome code
seemed like Too Much Information. Also, there is the extremely unlikely chance that
a process ID might be re-used immediately after the original process shuts down. This
run ID avoids that case, regardless of how unlikely.
2015-03-17 13:42:34 -04:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Aaron Klotz
17f21295f6 Bug 1128768: Part 5 - Update plugin code to retrieve SWF file for hang annotations; r=jimm 2015-02-25 17:38:09 -07:00
Aaron Klotz
8f6660cccf Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm 2015-03-06 12:31:17 -07:00
Aaron Klotz
fba365c8b0 Bug 1127888: Fix causes of async plugin init hangs; r=jimm 2015-02-21 23:07:24 -07:00
Benjamin Smedberg
701b286595 Bug 1133003 part A - send a global observer notification when Flash hangs, r=aklotz 2015-02-19 14:52:04 -05:00
Benjamin Smedberg
3607dcdc58 Bug 1126450 - When Flash has a blocklist entry, we should keep protected-mode on, no matter the value of the pref setting. r=aklotz 2015-01-27 15:49:48 -05:00
Ehsan Akhgari
2b9ad04d81 Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:09:59 -05:00
Ehsan Akhgari
e723ef9603 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari
3aff6848e2 Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Bill McCloskey
6fd30079d3 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Aaron Klotz
169d0987fc Bug 1117398: Ensure NPP entry points are handled properly with async plugin init on linux; r=jimm 2015-01-14 10:55:41 -07:00
Carsten "Tomcat" Book
142af71e50 Backed out changeset 8ab6c26d26f5 (bug 1118618) 2015-01-13 08:43:32 +01:00
Bill McCloskey
bc51ef7890 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-12 23:06:54 -08:00
Ehsan Akhgari
2534364eb8 Bug 1118611 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/plugins; r=baku 2015-01-07 10:32:50 -05:00
Aaron Klotz
bd4d5cafe9 Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-29 16:13:54 -07:00
Phil Ringnalda
4227fff1a3 Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
681dbfd72f Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-24 17:57:03 -07:00
Benjamin Smedberg
c5bf7a3d77 Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz 2014-12-12 10:19:06 -05:00
Aaron Klotz
fa5a9e12ba Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan (Relanding because I meant to back out a different commit for bustage, not this) CLOSED TREE 2014-12-11 14:00:47 -07:00
Wes Kocher
585e114d54 Backed out changeset 62a9e591e57d (bug 1070755) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 14:53:01 -08:00
Aaron Klotz
1fcab019db Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan 2014-12-11 14:00:47 -07:00
Bill McCloskey
374735cd4a Backout bug 1099410 for increasing crash rate 2014-12-11 10:09:44 -08:00
Bill McCloskey
c552fad3d9 Bug 1099410 - [e10s] Fix re-entrant plugin loading (r=bsmedberg) 2014-11-21 14:00:55 -08:00
Bill McCloskey
c49d4cbef6 Bug 1093693 - [e10s] Don't use sync messages between plugins and chrome process (r=jimm) 2014-11-18 21:46:01 -08:00
Bill McCloskey
7061e6eaa0 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Aaron Klotz
42d068f947 Bug 818307: Part 2 - Plugin Hang UI ChromeHang annotations; r=gfritzsche 2014-10-21 11:48:08 -06:00
Bill McCloskey
e5e5debbf4 Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg) 2014-10-20 09:47:25 -07:00
Ehsan Akhgari
99fed18e00 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
Ehsan Akhgari
860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Josh Aas
a490daa99f Remove dead code. No bug. r=me 2014-01-19 23:11:14 -06:00
Josh Aas
43a71aa764 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE, NPAPI plugins. r=me/bent 2014-01-19 23:03:45 -06:00
Josh Aas
f37e6b6a44 Bug 951739: Remove mPluginThread from PluginModuleParent. r=bsmedberg 2013-12-19 10:15:13 -06:00
Ehsan Akhgari
3e65edba24 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Aaron Klotz
3fb556f407 Bug 852164: Adds mutual exclusion between crash reporter deletion and plugin container process termination; r=bsmedberg 2013-12-03 15:19:58 -07:00
Nathan Froyd
d3d40de64f Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
David Anderson
b4cb2d8837 Rename IPDL's RPC to Interrupt (bug 910020, r=bent). 2013-09-30 17:27:45 -07:00
David Anderson
d2c237dd72 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent). 2013-09-27 18:42:08 -07:00
Georg Fritzsche
fc7e5a73ea Bug 903386 - Make all delayed PluginModuleParent tasks revocable. r=aklotz 2013-09-23 19:34:00 +02:00
Benoit Jacob
8b1ffe319e Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Ms2ger
f3b7092d51 Bug 903794 - Cleanup PluginModuleParent.h includes; r=johns 2013-08-14 09:00:47 +02:00
David Zbarsky
df0a410d40 Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Landry Breuil
3c3a62dd88 Bug 866239 - Fix build on platforms without profiler after bug 853358 r=bgirard 2013-04-27 16:20:23 +02:00
Benoit Girard
fb221d781b Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg 2013-03-21 10:17:23 +01:00
Aaron Klotz
2c90884e15 Bug 828034 - Fix crash when PluginModuleParent::CleanupFromTimeout runs before channel error notification. r=bsmedberg 2013-01-24 21:10:02 -05:00
Aaron Klotz
09f0f2a1b0 Bug 805591 - Win32 implementation of the Plugin Hang UI r=bsmedberg,bbondy 2013-01-04 17:59:05 -05:00
Ehsan Akhgari
7d7844c454 Backed out changeset a6acebd9c9d5 (bug 805591) because of build failures 2013-01-03 22:55:45 -05:00
Aaron Klotz
77dec009bd Bug 805591 - Win32 implementation of the Plugin Hang UI. r=bsmedberg,bbondy 2013-01-03 22:24:07 -05:00