Commit Graph

1350 Commits

Author SHA1 Message Date
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Josh Aas
ac8d51b495 Improve plugin instance stopped/started state management. b=535660 r=roc 2009-12-17 21:09:22 -05:00
Josh Aas
76e1222110 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
e431d632a4 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
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Josh Aas
df4585ba38 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
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
Benjamin Smedberg
234f5858ff 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
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Josh Aas
a2cdef8b23 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-16 08:16:42 -05:00
Benjamin Smedberg
097c85cae3 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
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
733399cc7e Windows bustage fix, b=533371 2009-12-15 20:21:57 -05:00
Robert O'Callahan
23ff629cce Backing out test for bug 533371 to try to fix leaks 2009-12-16 12:54:59 +13:00
Robert O'Callahan
b39fa0417b Backed out changeset 682926ebca13 2009-12-16 12:54:30 +13:00
Josh Aas
11a169cbb4 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-15 17:47:22 -05:00
Neil Rashbrook
1bd6140306 Bug 533355 nsPrefBranch fails to correctly clean up some stale weak references r=bsmedberg 2009-12-15 21:44:48 +00:00
Josh Aas
3b4141f69a Back out bug 533371 due to Windows bustage. 2009-12-15 22:16:04 -05:00
Josh Aas
df154de1eb Backed out changeset cbb4f67c6b68 2009-12-15 22:15:39 -05:00
Josh Aas
1417c53753 Backed out changeset 892d3eb10151 2009-12-15 22:14:48 -05:00
Josh Aas
514a6c5e9d 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
4f86d84cb3 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
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Josh Aas
e4ef56c1b9 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
6cdd11fcd4 test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 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
6e20a64631 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
fb84e3c42c 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
fa1b90bc0c 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
93211d4751 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg
cb534efdff 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
8613b91908 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
3e06063b78 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -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
487e2582f8 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
13786e8a04 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
55534754ff Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser] 2009-12-03 01:25:39 -06:00
Ben Turner
ce1bd10179 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
b17063546e Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Josh Aas
783c445e79 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
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Justin Dolske
0cfb131c4b Bug 531703 - Minimize disk space usage on Windows CE. r+a=vladimir 2009-12-14 22:28:40 -08:00
Johnny Stenback
c9d4899294 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
Benjamin Smedberg
f7eb5c27ab Bug 530894 - Clean up TODOs in the plugin stream remoting: if NPN_{Get,Post}URLNotify fail, clean up the actor properly. Also deal with null postdata, which currently causes significant problems for the in-process case (NPN_PostURLNotify succeeds, but NPP_URLNotify is never called). r=bent 2009-11-25 09:26:01 -05:00
Josh Aas
a4b1dd24fa Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc 2009-11-25 02:40:46 -05:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Josh Aas
e535f8aad7 Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB. 2009-11-23 14:08:41 -05:00
Josh Aas
f949685c4d Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB. 2009-11-23 13:57:27 -05:00
Benjamin Smedberg
bda0f732bc Don't crash if NP_Initialize failed remotely: PluginLibrary::NP_Initialize returns an nsresult, not a NPError; nsNPAPIPlugin::CreatePlugin fails but still sets the outparam; nsPluginHost doesn't properly rv-check nsNPAPIPlugin::CreatePlugin, which causes us to think the bad plugin is actually good. I hate stupid failure chains! 2009-11-20 10:34:20 -05:00
Chris Jones
9a696edbf3 bug 530007: fix crashing edge cases in the hope of getting better diagnostics about failed tests 2009-11-20 02:23:07 -06:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Joe Drew
85d1acb47f Bug 529732 - Disable gif crashtests until we remove the NS_ABORT_IF_FALSE that fires on them. 2009-11-19 00:49:10 -05:00
Joe Drew
e1b521e0a5 Bug 523528 and Bug 526452 - crashtests.
--HG--
extra : rebase_source : dff3ae65f1deb1a411af59ef98b590dba17f46a0
2009-11-18 18:20:31 -05:00
Joe Drew
8310499982 Bug 523528 - Handle compositing frame initialization failure properly. r=jrmuizel
--HG--
extra : rebase_source : dc7fe8226424e5a0622bd97fadcbbd6124d4a1f6
2009-11-18 18:20:27 -05:00
Makoto Kato
30d873946f Bug 526452 - imgContainer::ClearFrame() should handle failure to lockImage/null surfaces. r=jrmuizel
--HG--
extra : rebase_source : 013117f751f87ab9bbe087793d044bba1b6f02da
2009-11-18 18:20:24 -05:00
Benjamin Smedberg
453514dea2 Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap 2009-11-17 14:51:46 -05:00
Henri Sivonen
41bfb374eb Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman.
--HG--
extra : rebase_source : f1de8b7729f1570bf859578bf04192a4c5b6df05
2009-11-17 10:52:30 +02:00
Jim Mathies
1e83668bfe Bug 520607 - Remove use of "ntlm" auth module and replace with use of "sys-ntlm". r=wtc, cbiesinger. sr=bz. 2009-11-19 16:12:43 -06:00
Joe Drew
d3fe87f97f Bug 529732 - Remove bogus NS_ABORT_IF_FALSE and reenable tests. r=jrmuizel 2009-11-19 01:09:28 -05:00
Ben Turner
cafe07f11b Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Benjamin Smedberg
957e2b5042 The test plugin over-retains its scriptable object: NPN_CreateObject returns a retained object, so there's no need to retain it again. This shouldn't fix the leak but it does expose the bug bent just fixed. 2009-11-11 23:46:56 -05:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Ben Turner
401a6884be Fix silly bugs 2009-11-09 17:30:02 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Jae-Seong Lee-Russo
1003f2dad8 Bug 521191 - xpcshell-tests: some unit tests fail with the '-S' option ('strict' & 'werror' on). r=smontagu,dtownsend,mano
--HG--
extra : rebase_source : c5e0853fc64557f699d78c67f2907f6b48958563
2009-11-06 08:34:57 +01:00
Benjamin Smedberg
8fad57cfea Disable the NPN_SetException tests for the time being until the e10s bug is fixed. 2009-11-04 13:11:20 -05:00
Chris Jones
f1358e3105 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Reed Loden
325b9a9083 Revert accidentally committed change. Not my day, apparently. :( 2009-11-10 23:41:46 -06:00
Reed Loden
2d64c217b5 Another follow-up to bug 527784: just use resource:/// across the board because xpcshell doesn't implement resource://app/ like toolkit's nsXREDirProvider does. 2009-11-10 23:39:13 -06:00
Glenn Randers-Pehrson
051d876b20 Bug 504805 - "Update libpng to version 1.2.40" [rs=joe] 2009-11-10 19:39:31 -06:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Josh Aas
39b3aac40a Allow multiple types of OOP plugins to load. b=516509 r=cjones 2009-10-27 15:51:12 -04:00
Chris Jones
e5481210f2 Merge mozilla-central to pick up unit test fixes 2009-10-22 20:33:36 -05:00
Daniel Holbert
49b7752b81 Bug 482402: Enable "svg.smil.enabled" pref by default (enabling SMIL in nightly builds). r=roc 2009-10-22 15:51:23 -07:00
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Jeff Muizelaar
186c457ded Add a test for gif comment parsing. 2009-10-21 13:31:04 -04:00
Alfred Kayser
94b107fca0 [Bug 523065] libjar: use malloc instead of calloc for zlib. r=tglek 2009-10-21 11:58:49 +02:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Ginn Chen
8c25058d62 Bug 516665 disorted images with moz-icon://*?size=dialog r=bobbyholley 2009-10-20 14:01:12 +08:00
Jonathan Griffin
861525d628 Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
2009-10-19 14:00:59 -07:00
Alfred Kayser
6e5b28c83d Bug 511754 - make nsZipItems point at ZipCentral references to mmapped jar area r=tglek 2009-10-17 17:54:54 +02:00
Jeff Muizelaar
673fac182d Bug 519589. Add some tests for GIF transparency.
This is the begining of the long needed GIF test suite.
2009-10-17 00:06:36 -04:00
Jonathan Griffin
d9912f5e30 Bug 518940. Amend NPN_InvokeDefault tests to include multiple-argument and no-argument tests.
--HG--
extra : rebase_source : 65df67027083f5474a3a82297b9a597b8458d06f
2009-10-16 15:29:15 -07:00
Jonathan Griffin
dee25456a7 Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Justin Dolske
0e45efff40 Bug 533665 - Avoid the need to build NSPR for L10N repacks. r=robert.bugzilla a192=beltzner 2009-12-09 14:59:37 -08:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Rich Walsh
bdab68be3d [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Ben Turner
80b478e8c5 Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Alfred Kayser
783a52e434 Bug 521227 - Remove the no longer needed zliballoc chunk optimizations. r=tglek
--HG--
extra : rebase_source : b128aefcb82852afa9c1641009e3f8fed146a70b
2009-10-09 14:30:45 +02:00
Jonathan Griffin
089ca4c346 Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07:00
Alfred Kayser
5760afb9fe Bug 510844 - Remove memcpy()s for compressed jar reading. r=taras 2009-10-04 19:20:45 +02:00
Taras Glek
e2335c2699 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:44:52 +02:00
Dão Gottwald
d83eea4025 Backed out changeset ddd79f809784 2009-10-04 12:44:27 +02:00
Dão Gottwald
1a1457de94 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:43:18 +02:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00