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

7480 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 524629ccac Merge mozilla-central to electrolysis. 2009-12-22 14:18:51 -05:00
Benjamin Smedberg b66ed2bd26 Fix the test for bug 535298 - because plugin instantiation is asynchronous, we are crashing the plugin process after we meant to, which leads to a JS error and a hung test 2009-12-22 10:38:42 -05:00
Metal Sonic bb9fc4f136 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Benjamin Smedberg 81efbab848 Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy 2009-12-21 12:37:32 -05:00
Benjamin Smedberg 6f663c59a0 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Benjamin Smedberg 659bb3ad21 Re-enable test_crashing.html on the electrolysis branch to see how random/reproducible it is. 2009-12-17 13:11:49 -05:00
Josh Aas 3d5f6a6ab5 Stop storing xpconnect status in the plugin tag, it isn't used any more. b=535502 r=roc 2009-12-17 12:22:46 -05:00
Benjamin Smedberg 4c0c79d6aa Disable test_crashing.html because it may be causing hangs still and I have little confidence in it yet. 2009-12-16 22:09:42 -05:00
Josh Aas f1a5512836 Improve plugin instance stopped/started state management. b=535660 r=roc 2009-12-17 21:09:22 -05:00
Benjamin Smedberg 0aab6012fe Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Josh Aas c65df7f22e Fix plugin host so that idle event timer can QI correctly and make the callback. b=535357 r=smichaud 2009-12-16 15:54:16 -05:00
Benjamin Smedberg dec7565457 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
Benjamin Smedberg ad30c2f3ad Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX. 2009-12-16 09:10:30 -05:00
Benjamin Smedberg bf0e6d00f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Josh Aas e8fe94f73f Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-16 08:16:42 -05:00
Benjamin Smedberg 1554d55745 Bug 534866 - Fix Java and WMP plugins on Windows by initialize NPPluginFuncs.size before calling NP_Initialize, regression from bug 516509 which landed with the e10s merge, a=blocker-regression r?pending from josh 2009-12-15 21:24:26 -05:00
Benjamin Smedberg bfa43ef17d Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas cd4b04cefc Windows bustage fix, b=533371 2009-12-15 20:21:57 -05:00
Robert O'Callahan 4057bab9c5 Backing out test for bug 533371 to try to fix leaks 2009-12-16 12:54:59 +13:00
Robert O'Callahan 6d97419c5b Backed out changeset 682926ebca13 2009-12-16 12:54:30 +13:00
Josh Aas ca36c7f042 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-15 17:47:22 -05:00
Neil Rashbrook 3b1eaf03ec Bug 533355 nsPrefBranch fails to correctly clean up some stale weak references r=bsmedberg 2009-12-15 21:44:48 +00:00
Josh Aas 337dfc2093 Back out bug 533371 due to Windows bustage. 2009-12-15 22:16:04 -05:00
Josh Aas 827478b8d3 Backed out changeset cbb4f67c6b68 2009-12-15 22:15:39 -05:00
Josh Aas 733a45b95c Backed out changeset 892d3eb10151 2009-12-15 22:14:48 -05:00
Josh Aas 82f7ab23fe Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Josh Aas 5d1bdab88d Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2009-12-15 15:14:03 -05:00
Jim Mathies 511810cb85 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Josh Aas 4ff4558786 Unset the plugin instance on the plugin instance owner if the instance fails to initialize. b=533030 r=jst 2009-12-15 15:28:12 -05:00
Benjamin Smedberg 1c0c3d31aa test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg c274ce87d8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg 7ffec1977a Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Ben Turner 78fcc09c48 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Jonathan Griffin 542914ba7c Bug 533482. Let plugin crashtest notify testrunner that no leak log is expected when the plugin process is deliberately crashed. r=bsmedberg 2009-12-09 10:51:38 -08:00
Benjamin Smedberg b137714cd1 Comment out the crash test until we can fix the leaking nsPluginHost as well as tell the test harness that it's ok that the crashing plugin process didn't print leak information. 2009-12-05 13:53:12 -05:00
Chris Jones bb3fadfda5 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg e0e78bb905 Oh snap! nsPluginTag.mEntryPoint became a nsCOMPtr in a merge and ended up being double-released. Victory is mine! 2009-12-04 23:27:32 -05:00
Benjamin Smedberg 5fbea02594 Add a .crash() method to the testplugin, and test that crashing throws exceptions in the parent. 2009-12-03 15:33:25 -05:00
Benjamin Smedberg 5843f64779 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -05:00
Benjamin Smedberg 663016e74b 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 d82f3ac756 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg 5cc5de47c0 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg 62511d645e Bug 532605 - _write conflicts with symbols in the MSVC runtime. Remove all vestiges of PR_BEGIN_EXTERN_C from nsNPAPIPlugin.{h,cpp}, so that these functions are given C++ mangled names in the namespace we actually declared for them. 2009-12-03 09:17:49 -05:00
Taras Glek f9c9c2bf8a Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser] 2009-12-03 01:25:39 -06:00
Ben Turner 0610fd6349 Don't let plugin return a null window object and NPERR_NO_ERROR, r=jst. 2009-12-01 15:08:16 -08:00
Ben Turner fb7820fa39 Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Josh Aas f409847808 Fixing bug 520639. Make plugin library unloading independent of the lifetime of nsPluginTag objects. Patch and reviews by jst@mozilla.com and joshmoz@gmail.com, a=blocking1.9.2+ 2009-12-02 21:14:13 -08:00
Benjamin Smedberg ebb5f3fbbd Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Justin Dolske 0583206939 Bug 531703 - Minimize disk space usage on Windows CE. r+a=vladimir 2009-12-14 22:28:40 -08:00
Johnny Stenback f5e9f61b7b Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+. 2009-11-30 11:11:20 +01:00