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
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
Henri Sivonen
b099bfa49e
Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
...
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03: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
Serge Gautherie
f51ae8e7f5
Bug 517478 - signon.expireMasterPassword is obsolete and should be removed; (Bv1-TK) Remove obsolete default pref value
...
r=dolske
2009-09-23 16:34:17 +02: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
Zeev Tarantov
ea7a198dd0
Bug 482119 - Remove unused write_icc_profile. r=joe
2009-11-14 19:48:55 +01:00
Alex Pahotkin
b4be575bdb
Bug 502933: importing the 7-zip library, r=bsmedberg
2009-11-13 15:03:30 -08: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
Joe Drew
7afe68f67c
Bug 523528 - Crashes in imgFrame::Draw(). Handle failure to composite frames gracefully, instead of just asserting that it's impossible to get into a situation where we draw paletted frames. r=jrmuizel,vlad,ak
2009-11-12 18:18:40 -05:00
Joe Drew
eab2643889
Bug 497665 and Bug 514605 - Tests.
2009-11-12 18:00:31 -05:00
Joe Drew
2ece21a7fd
Bug 514605 - Possible for concurrent reloads of images to return old/different results. r=vlad,jrmuizel
...
Only set the load ID when we're sure that the entry we're using is valid/going
to be valid. If we're validating an image over the network, we must only set
its load ID after we've validated it.
2009-11-12 18:00:30 -05:00
Joe Drew
48473b5b49
Bug 497665 - Images are downloaded multiple times if defined multiple times on force-reload. r=jrmuizel,vlad
...
Don't unconditionally remove from the cache if we're force-reloading. Instead,
refuse to validate images when we're force-reloading, unless we've already
validated them for this context.
2009-11-12 18:00:30 -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
Bobby Holley
26aa9ebc91
Bug 517091 - Don't do an expensive asynchronous RequestDecode() if there's already an active full decoder. r=joe
2009-09-19 12:33:00 -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
Alfred Kayser
24bde5cdae
Bug 510874 - Replace ZIP error codes with the NS_ERROR_ codes
2009-10-08 16:24:22 +02:00
L. David Baron
04deabf021
Change NS_ABORT_IF_FALSE to NS_ASSERTION since the icon decoder causes it to fire quite a bit. (Bug 518704)
2009-10-07 20:22:42 -07: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
Alfred Kayser
526c4a4065
Bug 510878 - HG Remove nsJARDirectoryInputStream.cpp
...
--HG--
extra : rebase_source : e23f76a07a998d8a27ea253c2cfe7e07a3f4b268
2009-10-07 16:28:45 +02: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
Mats Palmgren
62850abebd
Corrupt prefs.js file not removed if backup file (invalidprefs.js) exists. b=495735 r=dietrich r=benjamin
2009-11-03 20:05:31 +01:00
timeless@mozdev.org
a57f8826c1
Bug 525980 Fix typos in npapi.h
...
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan
3e0434e672
Bug 510082. Silverlight depends on NPN_InvalidateRect working even when the plugin is in windowed mode (although it should really just call Win32 APIs to invalidate its window), so make NPN_InvalidateRect work for windowed plugins. r=josh
2009-11-04 07:39:42 +13:00
Jeff Muizelaar
a28d4dd5a6
Add some tests that exercise bug 525326. r=joe
2009-11-02 13:15:09 -05:00
Jory A. Pratt
8abe24e659
Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz
2009-11-02 17:41:36 +08:00
Justin Dolske
c80ef0b0f9
Bug 506798 - Unable to tag a bookmark through the star panel. r=vladimir
2009-10-30 16:13:41 -07:00
Jonathan Griffin
96ff9f6933
Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz
2009-10-30 13:15:22 -07:00
Gijs Kruitbosch
41ba1acfa5
Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
...
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Michael Wu
d38ee96a91
Improve GetURL/PostURL code
...
Bug 273025 - bad logic results in potential leak xor crash based on flow; v4, (1/2)
r+sr=jst
2009-10-29 01:29:44 +01:00
Bobby Holley
ba376437d0
Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe
2009-10-06 21:39:30 -07:00
Kyle Huey
f5610bb8c9
Mouse wheel scrolling broken with Katmouse enabled - bug 514927 r+a=roc
2009-10-07 00:19:04 -04:00
Robert O'Callahan
0661a95762
Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
...
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Bobby Holley
a1133f18cd
Bug 516334: Track image decode notifications to send correct notifications to late-coming consumers (Tp4 orange fix). r=joe
2009-12-14 10:35:47 +00:00
Jonathan Kew
6cabc4d1a6
Bug 531363: test flags correctly in jpeg decoder. r=bholley
2009-12-14 10:35:46 +00:00