Граф коммитов

612 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 22a0f74e8f 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.

--HG--
extra : rebase_source : 4f0072ef660645efdb26d8fa7c9f03dfc60a4f4a
2015-03-17 13:42:34 -04:00
Jim Mathies 46a2e007da Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Aaron Klotz 161897ae0e Bug 1149358: Ensure that plugin streams are not manipulated by PluginAsyncSurrogate if plugin destruction is imminent; r=jimm
--HG--
extra : rebase_source : 440ecf2bd74fd5e28ed715e7e477d9fd55d18697
2015-04-01 16:53:47 -06:00
Bob Owen e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Bob Owen eef3ca5f6e Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce 2015-04-01 09:40:35 +01:00
Aaron Klotz 3a239b4632 Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Aaron Klotz 81d48654d0 Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07:00
Phil Ringnalda e44926f4c1 Merge m-i to m-c, a=merge 2015-03-28 11:44:16 -07:00
Brad Lassey 3304765ba2 bug 1130976 - Flash context menu causes CPOW deadlock with AdBlock Plus, plugins should spin even loop in content process instead of the chrome process r=billm 2015-03-27 11:21:57 -04:00
Aaron Klotz e55e727569 Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Aaron Klotz 41e0657ba2 Bug 1145782: Add crash reporter annotations for async plugin init to parent and child processes; r=jimm
--HG--
extra : rebase_source : 8680b5577f8052c30c22eaa31ad34d4b92286fe5
2015-03-23 22:01:07 -06:00
Aaron Klotz f719fc245a Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm
--HG--
extra : rebase_source : 96cf482e4f5508d2167088efdea785e3ee8c093a
2015-03-23 21:46:38 -06:00
Ehsan Akhgari 883849ee32 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
Ehsan Akhgari 97b5f363cc Bug 579517 follow-up: Remove NSPR types that crept in 2015-03-16 21:15:10 -04:00
Aaron Klotz 30dc911b8c Bug 1135491: Part 1 - Add functions to notify plugin when a plugin destroy will be deferred; r=jimm
--HG--
extra : rebase_source : 20024e084d3a1c60c3ae14934ea46310c288949e
2015-02-27 12:59:07 -07:00
Aaron Klotz 1c5fc3bb80 Bug 1140683: Fix async plugin init using null plugin funcs on MacOSX; r=jimm
--HG--
extra : rebase_source : a354d758270b033f50c01ea93501c76d7e34a852
2015-03-09 12:10:02 -06:00
Jim Mathies a7954e5c2b Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-10 06:33:20 -05:00
Aaron Klotz 56efb9658f Bug 1128768: Part 5 - Update plugin code to retrieve SWF file for hang annotations; r=jimm
--HG--
extra : rebase_source : e0604317f4556728b3fcfef0c601d0cdc5ad9476
2015-02-25 17:38:09 -07:00
Aaron Klotz 9692fd3226 Bug 1141093: Ensure that FinishInjectorInitTask::PostToMainThread is no longer executing before leaving FinishInjectorInitTask::Run; r=dmajor
--HG--
extra : rebase_source : 646412f0b979c41a713baf9eedee227a25402451
2015-03-09 19:23:34 -06:00
Phil Ringnalda 1129ae3cbd Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies c0e9fddc57 Bug 1132874 - Improve protections against sending a parent plugin protocol shutdown message to the child after the child has torn down. r=aklotz 2015-03-07 14:14:04 -06:00
Aaron Klotz d1329c9051 Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm
--HG--
rename : dom/plugins/ipc/ScopedMethodFactory.h => dom/plugins/ipc/TaskFactory.h
extra : rebase_source : fa4caf1f154974fd9994a8803db22c21c23d8cdf
2015-03-06 12:31:17 -07:00
Phil Ringnalda 559b55376b Back out 2812517c3814 (bug 1115438) for build bustage
CLOSED TREE

--HG--
rename : dom/plugins/ipc/TaskFactory.h => dom/plugins/ipc/ScopedMethodFactory.h
2015-03-05 20:33:05 -08:00
Aaron Klotz 6761a65f68 Bug 1115438: Move PluginModuleParent's invocation of CreateToolhelp32Snapshot off the main thread; r=jimm
--HG--
rename : dom/plugins/ipc/ScopedMethodFactory.h => dom/plugins/ipc/TaskFactory.h
extra : rebase_source : 72c4a338eb9b5a556a3d42545d7f07dd380a5e65
2015-01-08 17:38:49 -07:00
Aaron Klotz 8dbfc84a1c Bug 1136930: Hook PluginAsyncSurrogate into NPP_DestroyStream; r=jimm
--HG--
extra : rebase_source : 379d6a8bee1d6f608872e17aa10606b24dbde764
2015-02-25 16:25:33 -07:00
Steven Michaud 37a4046738 Bug 1130435 - Mouse cursor doesn't disappear over Flash object when it should. Works in non-e10s. r=josh 2015-03-02 15:36:29 -06:00
John Schoenick a11862a8ae Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Aaron Klotz 47d9c9ef45 Bug 1127888: Fix bustage; r=bustage 2015-02-22 00:15:50 -07:00
Aaron Klotz b0db5872ec Bug 1127888: Fix causes of async plugin init hangs; r=jimm
--HG--
extra : rebase_source : 985242b352dd3b579279c09fa2c91ba9d538946a
2015-02-21 23:07:24 -07:00
Benjamin Smedberg 0510928e0d Bug 1133003 part A - send a global observer notification when Flash hangs, r=aklotz
--HG--
extra : rebase_source : 74be4ef59f2e179304668ac3b2d8cdff2ffb9fdc
extra : histedit_source : adedbe0f9b251f35d501d82a08d5f6fe2b5fd5d7
2015-02-19 14:52:04 -05:00
Jim Mathies 57bcfa87be Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Jim Mathies d6954d90ce Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
Jim Mathies 2cf73763f7 Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
Aaron Klotz 59f10b1061 Bug 1130747: Ensure that we check that an actor is still valid before calling into it; r=jimm
--HG--
extra : rebase_source : efd238b4c540a74bf9447d931b483f8c93f421cc
2015-02-12 16:56:47 -07:00
Bob Owen 78f86d5dec Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy 2015-02-11 16:25:43 +00:00
Ryan VanderMeulen 74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ryan VanderMeulen e7e0e7b5cb Merge m-c to fx-team. a=merge 2015-02-09 16:40:25 -05:00
Jim Mathies e753794c1e merge backout 2015-02-09 12:38:30 -06:00
Jim Mathies 52282e7b53 Backout ee13449af6e7 (bug 1127378) on the suspicion that it caused bug 1130734. 2015-02-09 12:37:46 -06:00
Steven Michaud 46ad522230 Bug 1129267 - Fix by backing out patch for bug 1118615. r=mstange 2015-02-09 12:10:33 -06:00
Jim Mathies b1be9d7ce4 Bug 1127378 - When tabs close notify PluginWidgetChild earlier in shutdown. Prevents PluginWidgetProxy messages sent to dead parent actors triggering content process aborts. r=akotz 2015-02-03 13:58:32 -06:00
Makoto Kato 7b1576eed0 Bug 1126185 - Need hook CreateFileA for Windows 8 RTM. r=bsmedberg 2015-02-04 00:33:39 +09:00
Jim Mathies a8bf5c7379 Bug 1103177 - When tabs are torn out, swap plugin widget parents. r=roc 2015-02-08 17:50:01 -06:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Aaron Klotz a42a0725b0 Bug 1130747: Add more error checking to PluginAsyncSurrogate::GetPropertyHelper; r=jimm
--HG--
extra : rebase_source : 61f90caee29ea9776c0ebf89d70bec3d82f23d8e
2015-02-08 19:42:08 -07:00
Aaron Klotz 2a85205cdf Bug 1123916: Ensure that plugin entry points are correctly set on MacOS when async plugin init and e10s are both true; r=jimm
--HG--
extra : rebase_source : 60122498466d3dbc7c4136f32008cdb5dd1e563c
2015-02-08 09:49:35 -07:00