Commit Graph

215 Commits

Author SHA1 Message Date
Benjamin Smedberg
1dcd610135 Followup to bug 551049 - make the closing reason match that used by the in-process host 2010-03-11 14:15:48 -05:00
Benjamin Smedberg
e5aab11778 Merge and review fixup from async streams, bug 551049 2010-03-11 11:56:35 -05:00
Benjamin Smedberg
1a54d18a03 Bug 551049 part 3: delay the delivery of NPP_URLNotify until the related stream is completely delivered and destroyed, and propagate errors from NPP_Write and NPN_DestroyStream back to NPP_URLNotify r=bent 2010-03-06 16:03:05 -05:00
Benjamin Smedberg
51a11b0266 Bug 551049 (was bug 532208) part 2 - Delay delivery of NPP_DestroyStream until stream data is delivered, and make sure that data delivery doesn't re-enter, r=bent 2010-03-06 16:02:31 -05:00
Benjamin Smedberg
39df629db6 Bug 551049 (was bug 532208) part 1 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Benjamin Smedberg
1fc1bc4a5a Revert the RPC-style race resolution from bug 532208 in order to use the asynchronous delivery patches. 2010-03-06 11:08:19 -05:00
Benjamin Smedberg
3ec1519e77 Bug 551387 - octoshape plugin crashes because it doesn't implement NPNFunctions.setwindow, r=bent 2010-03-10 10:54:22 -05:00
Chris Jones
7fd74b1a80 Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones
415f85da1a Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones
ad34b8295e Followup to bug 549888: don't call HandleEvent after Paint 2010-03-11 04:13:23 -06:00
Chris Jones
7e203b6454 Bug 549888: Part 2: Add a Paint() message and have the browser win races of Paint() vs. anything else. r=bent,jmathies,karlt 2010-03-11 01:35:31 -06:00
Chris Jones
a3aa9cbbff Bug 550118: Try to not process XPCOM events when a plugin process spins a nested glib event loop. r=karlt 2010-03-11 01:35:29 -06:00
Chris Jones
148296d96a b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg 2010-03-08 09:16:02 +13:00
Jim Mathies
2afcaf5c1d Bug 550322 - [OOPP] Hulu full screen deadlock protection doesn't trap all cases. r=bent. 2010-03-06 12:33:40 -06:00
Benjamin Smedberg
a87ccb8301 Bug 550305 - Reduce round-trips by making some NPRuntime/scriptable methods async instead of RPC, r=bent 2010-03-04 16:20:14 -05:00
Chris Jones
568776b2d0 Bug 532208: Defer deletion of browser streams to later tasks. r=bsmedberg 2010-02-26 13:07:56 -06:00
Ben Turner
7aae9fc552 Fix braindead variant conversion bug, r=cjones, no bug 2010-02-25 15:31:09 -08:00
Karl Tomlinson
f125b837c1 b=548434 NULL check aNPP in _invalidaterect for nspluginwrapper r=cjones
--HG--
extra : rebase_source : 6af217c167b313f034461ec63d7dd45cb5bd5225
2010-02-24 16:19:51 -08:00
Benjamin Smedberg
435bf321ac Merge backout of bug 532208 due to test failures, crashes, and overall badness. 2010-02-25 03:03:12 -08:00
Benjamin Smedberg
a97d6cd2b0 Backed out changeset e4a7ea0bb90f bug 532208 - asynchronous stream delivery because write events were being dispatched in odd re-entrant states and NPP_DestroyStream was being delivered before all the stream data was delivered. 2010-02-25 03:00:56 -08:00
Karl Tomlinson
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Benjamin Smedberg
0d781c505c Bug 532208 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent
--HG--
extra : rebase_source : 1155cb3c0d548712b274c81e7cf597eaf091d220
2010-02-23 16:45:00 -05:00
Jim Mathies
5dc5015ef8 Bug 547353 - [OOPP] Mouse pointer coordinates misaligned with winless Silverlight. r=bent. 2010-02-24 16:13:48 -08:00
Chris Jones
06871df7a3 Bug 544945, part 2: Periodically unblock the parent to allow it to process events while the plugin subprocess is in a nested event loop. r=karlt
--HG--
extra : rebase_source : bf9a2df9d7d6b420fb93d11dc5abaeb4be1214db
2010-02-16 12:44:25 -06:00
Chris Jones
eb662c9fe6 Bug 544945, part 1: Detect nested glib event loops in the plugin subprocess. r=karlt
--HG--
extra : rebase_source : 454553501de351b66e328a7005e6779088f2a2fa
2010-02-16 12:44:24 -06:00
Benjamin Smedberg
cdf15ace3b Bug 544074 - Crashes at mozilla::plugins::PluginModuleChild::UnregisterActorForNPObject - the hash of scriptable objects is mutating while we enumerate the actors being destroyed after a plugin instance is destroyed. Save the list of actors off into a separate non-mutating table, r=bent 2010-02-24 16:14:13 -05:00
Benjamin Smedberg
a884a24043 Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent 2010-02-24 16:34:17 -05:00
Benjamin Smedberg
3b1352e4df Bug 547316 - Plugin window subclass is not reset when CallNPP_Destroy fails, r=bent 2010-02-19 17:08:16 -05:00
Jim Mathies
81e27fafd9 Bug 547142 - [OOPP] Exiting full-screen video locks the browser. r=bent. 2010-02-22 17:10:08 -08:00
Jim Mathies
9bd29b8510 Bug 547276 - [OOPP] Windowed focus hang in CallHasProperty. r=bent. 2010-02-22 17:09:27 -08:00
Ben Turner
236e97e5cd Bug 535017 - 'IPC plugins should cache well-known scriptable objects to avoid unnecessary actor creation/destruction'. r=bsmedberg. 2010-02-20 13:59:40 -08:00
Jim Mathies
0be9704540 Bug 545239 - [OOPP] Plugin focus: hang at PPluginInstanceParent::CallSetPluginFocus against child _NtUserSetFocus. r=bsmedberg. 2010-02-18 14:21:21 -06:00
Jim Mathies
094bf7e9a3 Bug 543201 - [OOPP] Shockwave window position is not correct. r=bent. 2010-02-18 14:20:25 -06:00
Jim Mathies
f2cf287e8d Bug 539658 - [OOPP] Full-screen mode doesn't work with windowless controls (hulu). r=bent. 2010-02-18 14:19:28 -06:00
Benjamin Smedberg
d2d3fb64c4 Bug 542263 for real! Deallocate shouldn't invalidate plugin scriptable objects because they may be resurrected. This supposedly landed in mozilla-central revision 4c6d4be91aaa but that was an empty revision, probably due to some transplant error. r=bent
--HG--
extra : rebase_source : da3efd3d0e602194d8741d0623a885566e798e28
2010-02-17 13:30:27 -05:00
Karl Tomlinson
a4cd333dde b=543901 only call NPPluginFuncs::getvalue when non-NULL and remove NPP_GetValue NPPVpluginWindowBool NPPVpluginTransparentBool r=cjones 2010-02-04 13:02:48 +13:00
Chris Jones
0d8fcde12f Fix windows build
--HG--
extra : transplant_source : %A6%8C%E4k%A8%91%A8%F0%E7n%8D%DC%29eV%BB%9B%85q%CD
2010-02-11 15:22:44 -06:00
Chris Jones
c3c2e2f00c Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg
--HG--
extra : transplant_source : K%BBb%8Dq%C8%26O%7Cj%10%0B%EE%05j%3C%0F%CA%C3%3A
2010-02-11 14:32:18 -06:00
Chris Jones
592ad302a1 Log "schlepping drawable" messages as PLUGIN_LOG_DEBUG. no r=, trivial
--HG--
extra : transplant_source : %10%9E-%8B%09%5D2%F6%97%C0k%0E%08%20%A1%1C%1B%B1%23z
2010-02-10 17:17:33 -06:00
Jim Mathies
c877b84ecc Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Jim Mathies
b32f193a8c Bug 542897 - [OOPP] Random sized black boxes appear/disappear in silverlight content areas. r=bsmedberg. 2010-02-08 13:35:37 -06:00
Jim Mathies
3391f48d52 Bug 543831 - [OOPP] Hang with embedded youtube video. r=bent. 2010-02-04 14:32:02 -06:00
Benjamin Smedberg
d2f5cee6ad Bug 535120 - NPN_GetValue(NPNVToolkit) doesn't work with null npp, r=bent
--HG--
extra : rebase_source : 67d03285f34260c02c49579ef8ff664e04bc4a84
2010-02-03 17:17:41 -05:00
Benjamin Smedberg
16f9bfea5a Bug 541646 - Crash when Flash is running and we enter private browsing mode, r=bent
--HG--
extra : rebase_source : 5f6d75689cf70f6c7bdd578da0021287bfe22737
2010-02-03 17:17:28 -05:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Benjamin Smedberg
9eb44973ee Work around bug 543776 by submitting empty PluginName/PluginVersion in crash reports.
--HG--
extra : rebase_source : d3ea07dc9edbb1295aeb815b47316a9ad1423026
2010-02-03 09:36:45 -05:00
Daniel Holbert
aaaa0e4b10 Backed out changeset c502a1a0900a (patch for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:58:35 -08:00
Benjamin Smedberg
1f00a8ee4a Bug 542263 - Deallocating a scriptable object shouldn't cause us to mark the actor as invalidated. If the object is resurrected by a racing call from the other side, simply create a new NPObject on this side to represent the actor (Crash at NPObjWrapper_NewResolve with Silverlight), r=bent 2010-02-02 17:18:39 -08:00