Commit Graph

470 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04: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
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
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
Jonathan Griffin
089ca4c346 Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07: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
Jonathan Griffin
6b906c1857 Bug 517078. Add plugin stream tests for NPP_ functions returning errors. 2009-10-02 15:18:25 -07:00
Blair McBride
9cdc2ead10 Bug 514327 - Detect outdated plugins and offer upgrade path. ui-r=beltzner, r=dtownsend,josh 2009-10-02 13:26:04 +02:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Chris Jones
0531f8f96b basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Benjamin Smedberg
64a1193a12 Followup to bug 517078 - separate out the plugin tests so that each test is separate. This makes it easier to see what the test is doing, has fewer potential interactions between tests, and made it easier to debug Electrolysis. Reworked slightly and r=griffin
--HG--
extra : rebase_source : 8eaf51a366d7cd08db23a29f2d112351a46e4dc7
2009-09-23 09:49:49 -04:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Doug Turner
16ce7d7c20 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
8c81f341a1 Stop loading plugins with the name pattern "npjava*.dll" on Windows - these are old Java DLLs that won't work in Gecko 1.9.2+. b=527543 r=jst 2009-11-13 04:37:25 -05:00
Dave Townsend
8f787ba4fd Bug 471245: Unpacked extensions inadvertently enable plugins when reading chrome file at startup. r+sr=jst 2009-09-22 08:46:32 +01:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin
9891311272 Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Jonathan Griffin
3b1bf36d73 Bug 517078. Move 'using namespace' out of header files, per comment from roc.
--HG--
extra : rebase_source : a67c25de3a53131df3e7dd68c0ae4209f496ea58
2009-10-07 16:48:31 -07:00
Jonathan Griffin
ac074f565d Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Robert O'Callahan
69e399486e Disable test_windowed_invalidate.html on non-Windows, since it's only needed for Windows and seems to be failing on GTK2 at least
--HG--
extra : rebase_source : dc4114dfddee4d8714f7d5c881356352791e6400
2009-11-04 09:17:50 +13:00