Mike Conley
194c589ef5
Bug 1148012 - Send the run ID and plugin name along with the plugin-crashed observer notification. r=josh.
...
--HG--
extra : rebase_source : 091451422a6e31849a5d4999c968d71715a1d836
2015-03-18 17:04:08 -04:00
Mike Conley
d95fcd35e3
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.
--HG--
extra : rebase_source : d1e87b7751e6367c482b2420aa43bfadbce5e3e8
2015-03-17 13:28:32 -04:00
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
Aaron Klotz
f1aa8a8472
Bug 1141081
- Add weak reference support to HTMLObjectElement and use it in nsPluginInstanceOwner. r=jimm
2015-04-04 12:39:36 -06: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
zhoubcfan@163.com
795aecd9f2
Bug 1121290: Use "%ls" instead of "%s" in _snwprintf_s format string, r=bsmedberg
...
MSVC 2015 requires the use of the "l" modifier. Not sure why MSVC 2013 didn't.
--HG--
extra : rebase_source : 0d340bd7488fb2ba3fdf663a870f9815f3e723c3
2014-11-25 23:48:26 +08:00
Brian Smith
b5f52f030e
Bug 1150354: Make nsPluginDirServiceProvider build with MSVC 2015 CTP 6, r=jmathies
...
MSVC 2013 and earlier provided only a non-standard two-argument
variant of wcstok that is generally not thread-safe. For our
purposes here, it works fine, though, so we polyfill the
standard variant using the non-standard variant.
--HG--
extra : rebase_source : c54c07a4e1d1d6933cfe5899d84a7f11ae4f99fa
2015-04-01 07:48:39 -10: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
Kartikaya Gupta
0c7dfaf444
Bug 1150207 - Convert a focus() call to use SpecialPowers to avoid out-of-order focusing behaviour. r=mwargers
2015-04-02 06:58:18 -04:00
David Parks
3fe715e93a
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-04-01 12:36:41 -07: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
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Tom Schuster
ac250f9d73
Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv
2015-03-28 14:47:02 +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
Bill McCloskey
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07: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
Timothy Nikkel
d6eff64aa4
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Bill McCloskey
f2d972e4f2
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-03-26 14:17:29 -07: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
Martijn Wargers
cf9f023525
Bug 920013 - Rewrite test_cocoa_focus.html to use SpecialPowers. r=smichaud
...
--HG--
extra : rebase_source : 9d7d90b5ee9c8d2b6a867fd7880600e211cf4e42
2015-03-20 18:51:17 +01: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
Aaron Klotz
081c02fb8a
Bug 1141081: Ensure nsPluginInstanceOwner::Destroy is called before returning from failed plugin instantiation; r=jimm
...
--HG--
extra : rebase_source : 066ea5acbfdb2df1976fa12675cc267d1f417564
2015-03-17 19:44:34 -06:00
Aaron Klotz
23fec2f904
Bug 1128064: Check for null mContent in nsPluginInstanceOwner::GetDocument; r=jimm
...
--HG--
extra : rebase_source : 0687888735ab5065c927c16f8b18a1b100a632ab
2015-03-16 15:11:13 -06:00
Ehsan Akhgari
97b5f363cc
Bug 579517 follow-up: Remove NSPR types that crept in
2015-03-16 21:15:10 -04:00
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Aaron Klotz
623be0b606
Bug 1135491: Part 2 - Changes to nsJSNPRuntime to ensure that JS exceptions aren't thrown when plugin destruction is pending; r=josh,bholley
...
--HG--
extra : rebase_source : 450766689e0c0bf1cfa8c52f4e4051e2214715f2
2015-03-09 15:07:16 -06: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
Botond Ballo
cda50e28d3
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
...
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05: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
Aaron Klotz
04c858cf58
Bug 1136930: Fix nsNPAPIPluginStreamListener so that destroystream calls are made during async plugin init; r=jimm
...
--HG--
extra : rebase_source : 80b98eb7963750815844a74665d03450160e3196
2015-03-12 11:45:31 -06:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Mike Hommey
cae0d0c98c
Bug 1063880 - Allow a --disable-compile-environment to go through a full mach build. r=mshal
2015-03-11 16:03:55 +09: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
Jason Orendorff
cc85989b86
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -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