Commit Graph

951 Commits

Author SHA1 Message Date
Bobby Holley
1a0e571c4d Bug 771202 - Tests. r=bsmedberg 2012-07-13 13:20:08 +02:00
Ed Morley
14ce42d851 Backout 776f008404bf (bug 771202) for mochitest-3 orange 2012-07-13 11:07:26 +01:00
Bobby Holley
73c0e4e0c2 Bug 771202 - Don't double-call OnWrapperDestroyed. r=bsmedberg
Calling OnWrapperDestroyed at this point in OnDestroy doesn't make sense, because the JS objects have a finalize hook that also calls OnWrapperDestroyed regardless of whether or not they still have a pointer stashed in their private. So when we do this, we get a bunch of assertions about unmatched calls to OnWrapperDestroyed.

AFAICT the only reason this worked before is that this code never ran: I put a MOZ_ASSERT just before call to OnWrappedDestroyed in OnDestroy, and it never fired during the dom/plugins mochitests.
2012-07-13 10:56:38 +02:00
Bobby Holley
56c825379a Bug 771202 - Tests. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
d6a1234188 Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
31b22f2653 Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
bfecdaee41 Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
cfea5c2634 Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
b341414c8f Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
David Zbarsky
5a7819ef71 Bug 773025 - fix 2 warnings in dom/plugins r=jst 2012-07-11 20:55:59 -07:00
John Schoenick
c530cc45c2 Bug 772590 - The plugin category manager registration should account for multiple plugins per MIME, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
9355891385 Bug 755551 - Followup, check if the preference has a value, not necessarily a user value, r=josh 2012-07-10 17:06:17 -07:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
John Schoenick
3d7aa47ef8 Bug 755551 - Implement plugin.allowed_types whitelist 2012-07-06 17:20:15 -07:00
Benjamin Smedberg
afa3664115 Followup to bug 769048 part F - actually annotate the crash report with the notes we've carefully collected, r=captain-obvious 2012-07-06 13:08:19 -04:00
Benjamin Smedberg
05b9752a11 Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones 2012-07-05 14:48:40 -04:00
Bill McCloskey
4093aff673 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
d49b18b800 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Benjamin Smedberg
e1307ad204 Bug 769721 - Minimal patch to force OOPP mode on for Windows Vista+ users, because Flash is not tested with the IPP configuration and has known bugs, r=josh 2012-07-03 17:04:45 -04:00
John Schoenick
dc0bbdc2b0 Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Benjamin Smedberg
4f806e777a Bug 769048 part F - Add the final bits to PluginModuleParent which watch for new Flash processes and inject a crashreporter into them, r=jimm
--HG--
extra : rebase_source : dd00ee4c29ec0b2f7bee0e48eedd426644b1ae43
2012-07-03 07:49:23 -04:00
Andrew McCreight
3240af8316 Bug 752340 - use a finalizer in FunctionProxyClass. r=jorendorff 2012-07-02 20:04:23 -07:00
Jim Mathies
17f7d077f4 Bug 723133 - Protect against recursive calls in nsPluginNativeWindowWin's PluginWndProc. r=bsmedberg 2012-07-02 12:15:17 -05:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
dbef6fe311 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Martin Stransky
ac4d102d0d Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
6f685e76ee Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Chris Jones
b7cbde1f3c Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg 2012-06-21 20:44:38 -04:00
Martin Stransky
03573fa79c Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Josh Aas
34cbdd8aac Bug 686335: Allow plugins that we previously considered duplicates to be loaded/registered. Prefer plugins with higher version numbers when picking a handler for content. r=bsmedberg 2012-06-13 22:51:21 -04:00
Benjamin Smedberg
f019c782af Bug 747683 - Don't unload the plugin library right before exiting the plugin process, because some plugins are using atexit handlers, r=josh 2012-06-13 15:03:03 -07:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Ed Morley
4c9a59e40a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00
James Willcox
b7a47d1ba2 Bug 762407 - Avoid deadlock when exiting fullscreen Flash videos on Android r=blassey 2012-06-11 13:50:59 -04:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Mats Palmgren
d2099e04ff Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Ed Morley
865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
4aed5034c9 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
cee7c9d24b Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
James Willcox
1665611abc Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox
b619f8fea2 Bug 736073 - Implement power state support for Flash on Android r=blassey 2012-06-06 22:39:18 -04:00
Geoff Lankow
9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Josh Aas
dbf22cebd6 Bug 758227: NPAPI plugin stream decomtamination: nsIPluginStreamInfo. r=bsmedberg 2012-06-05 09:58:39 -04:00