Commit Graph

78 Commits

Author SHA1 Message Date
Benoit Girard
7f44239cb4 Bug 577494: Interpose OS X Cocoa system calls to hide dock in fullscreen/focus OOPP windows. r=josh 2010-08-13 12:45:50 -04:00
Benedict Hsieh
4be16266ab Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0 2010-08-10 14:14:10 -07:00
Benoit Girard
360d838dce Bug 568513 - Implement NPN_PopUpContextMenu. r=josh a=blocking-beta3 2010-07-29 18:38:32 -04:00
Tero Koskinen
c404be3c4f Bug 563737 - [QT] Detect when Qt plugins enter a nested event loop. r=cjones 2010-06-01 23:58:00 -04:00
Josh Aas
f538577fdd Fix case where we return an NPError value as an nsresult in PluginModuleParent. b=564917 r=cjones 2010-05-12 14:12:49 -04:00
Benjamin Smedberg
2a3822a3cf Bug 564861 - NPN_IntFromIdentifier always returns INT_MIN when running in OOPP mode because of a backwards conditional check. Also, int identifiers of -1 don't work correctly when the parent first creates the identifier, because we were misusing a sentinel value. r=bent 2010-05-10 17:11:25 -04:00
Benjamin Smedberg
e24771ce97 Bug 561817 part B - Install the nested event loop tracking mechanism for all RPC calls to plugins, not just specific handle-event calls, r=jimm 2010-04-30 14:42:51 -04:00
Chris Jones
733681c29e Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg 2010-04-27 00:43:03 -05:00
Benoit Girard
9897b0a83e Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
Benjamin Smedberg
38d93a6104 Bug 560213 - Don't double-delete PluginIdentifierParent when the plugin has already crashes, r=bent 2010-04-20 09:15:31 -04:00
Benoit Girard
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Chris Jones
ab754697b8 Bug 555309, part 3: Grab the plugin thread's ID on startup and blame it in hang dumps. r=bsmedberg 2010-03-30 19:24:47 -05:00
Chris Jones
3b21dfdc4c Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg 2010-03-30 19:24:45 -05:00
Chris Jones
7329573dd7 Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh 2010-03-24 16:22:04 -05:00
Chris Jones
08461da183 Bug 544936, part 5: Generate browser/plugin paired minidumps when the hang detector fires. r=bsmedberg 2010-03-24 16:22:03 -05:00
Chris Jones
926e2f746f Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Ben Turner
75ca06acb6 Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE 2010-03-24 12:30:45 -07:00
Ben Turner
95882b79e1 Bug 547359 - '[OOPP] Silverlight plugin takes 6X longer to load with IPC plugins than without - make NPIdentifier handler smarter/faster'. r=bsmedberg. 2010-03-23 07:30:51 -07:00
Chris Jones
ecaab71939 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
a9301cdf81 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
d7b8ead1aa Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05:00
Chris Jones
c35e59ba1c Bug 552866: Don't run NotifyPluginCrashed from a nested context. r=bsmedberg 2010-03-18 17:52:35 -05:00
Chris Jones
3775fecc82 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13: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
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
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
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
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
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
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
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
32a1fb0c00 Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones 2010-01-29 12:18:50 -08:00
Benjamin Smedberg
8adba8c2a2 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Ted Mielczarek
f3680d3c32 bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg
--HG--
extra : transplant_source : %C1P%99%80%8E%2C%92%7B%8C%BF%40c%40%FD%18%1F%AE%0E%D8%D9
2010-01-13 20:20:00 -05:00
Ben Turner
471d1a3e1b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
2010-01-15 12:35:57 -08:00
Peter Van der Beken
076d23ead6 Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange. 2010-01-19 13:00:58 +01:00
Ben Turner
37ff4409a5 Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Benjamin Smedberg
84db3ddf86 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones
--HG--
extra : transplant_source : fW%F0%06%1F%88%2C%F3l%B3%A0%F7b%D0%13%AE%D7%BD-%26
2009-12-18 17:22:51 -05:00
Walter Meinl
086f519b38 Bug 536264 - "[OS/2] build break in modules\plugins" [r=josh] 2009-12-23 15:12:00 -06:00
Benjamin Smedberg
e9b0ccabad Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh 2009-12-16 15:08:45 -05:00
Ben Turner
6e20a64631 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Benjamin Smedberg
1c4aa9f2e3 Defer the PluginCrashed notification so that we don't delete the PluginModuleParent while we're in the middle of a crash notification. 2009-12-04 21:20:06 -05:00
Benjamin Smedberg
5035b52067 Partly fix test bustage from bug 532751: set mShutdown before notifying the nsNPAPIPlugin, so that it doesn't re-enter IPC methods. 2009-12-04 18:41:56 -05:00
Benjamin Smedberg
6e3d83cf38 Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz 2009-12-04 13:24:57 -05:00
Benjamin Smedberg
c1afb3a76f Bug 532671 - After a plugin crashes, the module entry points (most importantly NPP_New) should fail, r=bent
--HG--
extra : rebase_source : 389d54e70fea2801d28bdf2e48740dcaaec31a07
2009-12-03 15:31:52 -05:00
Benjamin Smedberg
7fa499445d When the plugin crashes, set NPP->pdata to NULL, and null-check NPP->pdata in the callbacks that matter. r=bent
--HG--
extra : rebase_source : 32489b985b05b9da68546d37a2f0302bac8fd467
2009-12-03 15:31:01 -05:00
Chris Jones
4572a1920a bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00