Commit Graph

1261 Commits

Author SHA1 Message Date
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
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
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
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