Josh Aas
fc34f968eb
Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg
2011-03-23 11:46:09 -07:00
Josh Aas
216a98a72e
Bug 638145: Remove NPAPI plugin SDK. Replaced by npapi-sdk project on Google Code. r=bsmedberg
2011-03-23 11:44:46 -07:00
Kyle Huey
782df80bf2
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Joel Maher
a2a84ed8a8
Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only
2011-03-18 11:54:13 -04:00
Benjamin Smedberg
5a7728f990
Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired). Fixed test_pluginstream_seek_close.html so that the first iframe onload (for about:blank) is not used with the test. a=blocker-test
...
--HG--
extra : rebase_source : e2034212a7cb89aed5f0782c4d412954ea1470a8
2011-02-23 10:47:17 -05:00
Benjamin Smedberg
50f38e9094
Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
...
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
--HG--
extra : rebase_source : e6da19a0edb2cd283bdb92f14e925ac9b96157ec
2011-02-23 10:47:25 -05:00
Benjamin Smedberg
7c6b002c22
Revert bug 634534 because of test failures (test_visibility.html timing out, and neverending.sjs data leaking into other plugin tests?)
2011-02-23 16:04:35 -05:00
Benjamin Smedberg
b70550d556
Bug 634534 - Firefox 4 (and probably earlier versions) crash when they make a byte-range request and then call NPN_DestroyStream while both the "main" request and the byte-range request are active. This affects Silverlight on mac, and almost certainly Acrobat on Windows.
...
Instead of tracking a single request in nsPluginStreamListenerPeer::mRequest, track all the currently pending requests with nsPluginStreamListenerPeer::mRequests, and make sure that they are all cancelled when the stream is destroyed. r=josh sr=bz a=blocker
2011-02-23 10:47:25 -05:00
Benjamin Smedberg
1481e5c51f
Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired)
...
--HG--
extra : rebase_source : b29a496f75aacb57b8b9f285358278380580babd
2011-02-23 10:47:17 -05:00
Robert O'Callahan
af601dc986
Bug 631388. Part 1: Add nsIPluginInstance::GetImageSize. r=cjones,a=blocking
2011-02-23 18:38:09 +13:00
Josh Aas
60f3f8e9ae
Bug 634814: Further limit Flash OOP logic (all of it) to i386 on Mac OS X. There is no case in which we'd want to hard-code running Flash in-process in a 64-bit browser. r=benwa a=josh
2011-02-20 18:06:25 -05:00
Mark Banner
a7f8b6dea2
Bustage fix for non-IPC builds from bug 634819. Add a required windows.h include. r+a=bustage-fix
2011-02-19 12:16:51 +00:00
Josh Aas
de249d2178
Bug 633433: Limit plugin loading to Flash when we're trying to clear private data, but also clear anything else that happens to be open already. r=dwitte r=bsmedberg a=blocking2.0final+
2011-02-18 20:05:23 -05:00
Ehsan Akhgari
c389b80a3c
Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver
2011-02-17 16:18:53 -05:00
Peter Van der Beken
3285564240
Fix for bug 634865 (Non libxul build bustage: undefined reference to xpc_UnmarkGrayObjectRecursive). r+a=jst
2011-02-18 09:55:47 +01:00
Josh Aas
d805a1c4f2
Bug 633463: Never scan old XPCOM/OJI Java plugin directory. r=jmathies a=blocking2.0betaN+
2011-02-17 03:45:20 -05:00
Chris Jones
38233803ac
Some tests for bug 626602. a=b landing on a CLOSED TREE
2011-02-16 16:43:31 -06:00
Chris Jones
d6c74dbcb6
Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc
2011-02-16 16:43:31 -06:00
Chris Jones
2feec67e7c
Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc
2011-02-16 16:43:31 -06:00
Ben Turner
855fe52f2e
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-16 12:47:08 -08:00
Josh Aas
cffb031850
Bug 610526: Fix bug that caused Flash to not load on machines with GMA9xx GPUs. r=bsmedberg a=blocking2.0final+
2011-02-15 15:15:08 -05:00
Jacek Caban
721991561f
Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin
2011-02-15 12:30:58 +00:00
Josh Aas
2c810200dc
Bug 633667: Per the spec, return NPRES_USER_BREAK when a plugin rejects an HTTP redirect, not NPRES_NETWORK_ERR. r=bsmedberg a=blocking2.0final+
2011-02-14 11:50:27 -05:00
Ehsan Akhgari
a6d6b2b419
Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN
2011-02-11 20:56:11 -05:00
Matt Woodrow
aaef3ddcc5
Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+
2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690
Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+
2011-02-12 10:55:40 -05:00
Chris Leary
7cd988f331
Merge tracemonkey and mozilla-central. (a=blockers)
2011-02-11 09:56:19 -08:00
Serge Gautherie
0ffdacd2b5
Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Bv1) s/ok(true/todo(false/ when test plugin is not OOP.
...
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01:00
Serge Gautherie
bf75a4b767
Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Av1a) Skip this test on Seamonkey ftb.
...
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01:00
Ben Turner
e29dc44bff
Backout 10ebc5ea11ac due to test failures.
2011-02-09 15:29:31 -08:00
Ben Turner
3fb884d2a6
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-09 12:51:16 -08:00
Jim Blandy
b775bfcb46
Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
...
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
314aa75aac
Backout bug 614347 due to test failures
2011-02-08 22:15:48 -08:00
Ben Turner
3dd9784466
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking.
2011-02-08 18:54:14 -08:00
Dave Townsend
f1937fe947
Followup to Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins. r=joshmoz, a=approval2.0 DONTBUILD
2011-02-05 21:27:31 -08:00
Phil Ringnalda
1ec51f4445
Bug 629430 - annotate border-padding-1 through -3 as random on Win7, since they have been since the January driver update, a=rhymes-with-orange
2011-02-05 15:42:35 -08:00
Phil Ringnalda
b19048a64e
Bug 631832 - mark windowless-clipping-1.html as random on Win7, since the January driver update made it so, a=slow-moving-bustage
...
--HG--
extra : rebase_source : 0ba6333ffa715bfcfb939f7fec3720f50edf07c8
2011-02-05 13:06:01 -08:00
Phil Ringnalda
34e8f9aa24
Bug 520436 - re-enable reftest that was temporarily commented out in 2009, a=ha
...
--HG--
extra : rebase_source : f951283378d0bab180c7cea472dc8fc4f780c87a
2011-02-05 13:05:57 -08:00
Marco Bonardo
aaac8f2d4c
Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE
2011-02-09 15:48:12 +01:00
Chris Jones
2fcedbe49b
Some tests for bug 626602. a=b
2011-02-08 18:44:14 -06:00
Chris Jones
7afc71e9a5
Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc
2011-02-08 18:44:14 -06:00
Chris Jones
66c0a6b21b
Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc
2011-02-08 18:44:14 -06:00
Dan Witte
b39a896a01
Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner
2011-02-08 14:16:07 -08:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Ehsan Akhgari
e74b5aed6c
Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB
2011-02-04 12:00:21 -05:00
Benjamin Smedberg
ea46880456
Bug 631002 - Crashes in our RPC code because something is crashing (not sure what yet) and the primitive __try/__catch crash catching in the plugin host screws up the IPC invariants. Disable the __try/__catch blocks because we shouldn't need them any longer and they are covering up core problems. r=josh a=myself
2011-02-04 10:23:55 -05:00
Josh Aas
9c1ed262b2
Bug 626608: Make sure plugin is in a state to receive callbacks before calling NPP_UrlRedirectNotify. r=bsmedberg a=blocking2.0final+
2011-02-03 16:45:33 -08:00
timeless@mozdev.org
887490b02e
Bug 577916 - mark DEBUG only variables as ifdef DEBUG in plugins r=josh a=jst
2010-07-11 15:50:47 +03:00
Benjamin Smedberg
fda470883b
Bug 616400 - When a plugin returns a failure code from NPP_New, but creates JS objects in the process, anyone trying to script those objects after NPP_New fails will crash (Silverlight crash @NPObjWrapper_NewResolve). Call nsJSNPRuntime::OnPluginDestroy on a failed-init case just as we do in a normal cleanup case. r=josh a=blocker
2011-02-03 16:10:45 -05:00
Chris Jones
8991442744
Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
...
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Josh Aas
c0043cc7d8
Bug 629401: Carbon plugins that cannot load in X64 Mac should send an event or notifyObservers of failure. r=BenWa, a=blocks-betaN
2011-02-03 09:31:01 -08:00
Robert O'Callahan
b4d3c9dfc6
Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB
2011-01-24 17:16:39 -05:00
Ehsan Akhgari
7fa15139c1
Backed out changeset afe951130c65 because of test failure
2011-01-24 00:10:02 -05:00
Robert O'Callahan
2a0a7fad75
Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB
2011-01-23 23:27:18 -05:00
Jacek Caban
b9153f99b1
Bug 627213 - nptest.rc doesn't compile with windres r=jfkthame a=test-only
2011-01-22 12:58:23 +00:00
Josh Aas
239a2a4f95
Bug 610015: Implement updated Cocoa NPAPI text input spec. Part of this patch written by Steven Michaud. r=josh r=smichaud a=blocking2.0betaN+
2011-01-20 20:08:11 -05:00
Phil Ringnalda
a23587b471
Bug 620991 - disable test_visibility.html on Windows, in hopes that it will stop the apparent test_windowed_invalidate.html errors after shutdown, and stop letting a potentially unrelated leak sneak in under cover of those errors, a=test
2011-01-18 20:45:57 -08:00
Josh Aas
5a9d57a6d9
Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh
2011-01-18 21:32:35 -05:00
Josh Aas
f9f8b1058b
Fix line endings in PluginPRLibrary.cpp (Windows -> UNIX), no bug. a=josh DONTBUILD
2011-01-18 15:05:30 -05:00
Chris Leary
6805a382ac
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Jonathan Kew
ed55ace99d
bug 607121 and bug 626180 - add sample non-Latin text to the test plugin description, to verify that we manage encodings properly. r+a=bsmedberg
2011-01-18 18:27:26 +00:00
Jonathan Kew
4ab69a9708
bug 626180 - partial backout of bug 607121 (undo encoding-munging from changeset 3f8bee2e48a7) which broke non-ASCII plugin info. r+a=bsmedberg
2011-01-18 18:26:19 +00:00
Luke Wagner
b6dbb22d1d
Bug 595278 - Make sure the context outlives the request in NPAPI _evaluate (r=jst)
2011-01-12 10:57:06 -08:00
Ted Mielczarek
01276d8831
bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
...
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05:00
Robert O'Callahan
84866f15c4
Bug 601064. Fix tests (and test this bug). a=tests
2011-01-04 16:56:09 +13:00
Phil Ringnalda
29b4aeecce
Disable test_xulbrowser_plugin_visibility.xul on Windows. (Bug 625651) r=roc a=tests
2011-01-14 16:42:49 -08:00
Jonathan Kew
08134f2072
bug 624789 - allow for non-ASCII characters when reading plugin info strings on OS X. r=josh a=josh
2011-01-14 13:15:48 +00:00
Josh Aas
aac95a679d
Bug 625164: Fix bug in which we send the wrong URL to OOP plugins via NPP_URLRedirectNotify. r=dwitte a=blocking2.0betaN+
2011-01-13 17:52:15 -08:00
Jonathan Kew
2cb0c69426
bug 607121 - convert plugin info strings from windows-1252 to unicode. r=jmathies a=roc
2011-01-11 11:17:01 +00:00
Jacek Caban
c980e050a6
Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin
2011-01-11 10:16:59 +00:00
Josh Aas
8ddaa855bc
Bug 611296: Fix bug that caused the Quicktime plugin to fail to load for some Mac OS X users. Don't require that the MIME plist locale match the current locale. r=sgreenlay a=blocking2.0betaN+
2011-01-07 07:47:41 -05:00
Josh Aas
54af1ba72c
Bug 623638: Fix crash in plugin stream code by adding back a NULL check. r=jst a=blocking2.0beta9+
2011-01-07 07:51:36 -05:00
Josh Aas
a29aeee94a
Bug 475991: Tests for NPAPI redirect handling. r=dwitte a=blocking2.0betaN+
2011-01-05 14:46:42 -05:00
Josh Aas
874361668d
Bug 475991: Extend NPAPI to allow plugins to participate in redirect handling. r=bsmedberg a=blocking2.0betaN+
2011-01-05 14:44:21 -05:00
Chris Leary
1d3c0638b7
Merge mozilla-central into tracemonkey.
2011-01-04 10:51:14 -08:00
Robert O'Callahan
534f3f6418
Backing out 3883e79e5a9a and 0653a37b7230 (bug 601064) due to test failures, a=backout
2011-01-04 17:48:11 +13:00
Robert O'Callahan
3d63fb9b64
Bug 601064. Fix tests (and test this bug).
2011-01-04 16:56:09 +13:00
Robert O'Callahan
635ece94a9
Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh
2010-12-20 14:37:43 +13:00
Taras Glek
ffc42c44ee
Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh
2010-12-27 11:15:15 -08:00
Jacek Caban
d83e8cb533
Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix
2010-12-26 22:51:06 +00:00
Robert O'Callahan
47439ff0e8
Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+
2010-12-26 22:36:33 +00:00
timeless@mozdev.org
decad3427b
Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh
2010-12-20 01:13:00 -08:00
Chris Leary
272d457a20
Merge mozilla-central to tracemonkey.
2010-12-29 19:25:04 -05:00
Makoto Kato
d0748609ac
Bug 620140 - Bug 616271 causes CanLoadPlugin returns failure when plugin path is non-ASCII. r=joshmoz a=blocking-beta9+
2010-12-20 12:52:03 +09:00
Robert O'Callahan
e835ebeb75
Backing out part 5 of bug 617152. a=blocking
2010-12-24 15:15:11 +13:00
Robert O'Callahan
5509213034
Backing out ade671d15514
2010-12-24 15:14:04 +13:00
Rob Campbell
f22fbb6193
Bug 475991 - Extend the NPAPI to allow plugins to participate in redirects - fix line endings; r=rcampbell, a=test-fix; DONTBUILD
2010-12-23 12:30:44 -04:00
Robert O'Callahan
7faddbb34c
Bug 617152. Part 5: nsPluginHost::StopPluginInstance should skip plugin instances that are already destroyed (e.g. because the plugin was disabled). r=josh
2010-12-20 14:37:43 +13:00
Robert O'Callahan
863afc3119
Bug 617718. Don't process invalidates if we're stopping. r=bsmedberg a=bsmedberg
2010-12-21 15:03:00 -08:00
Taras Glek
0ea07d11c6
Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN
2010-12-20 15:38:10 -08:00
Scott Greenlay
e748997ab8
Bug 616271 - missing bool bits r=taras a=blocking-betaN
2010-12-20 15:38:04 -08:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Josh Aas
10f5a0354f
Bug 573873: Make sure to propagate redirect notifications whenever we don't kill the redirect for plugins. r=jst sr=bz a=blocking2.0betaN+
2010-12-03 10:46:10 -05:00
Josh Aas
c04477ac1b
Bug 615881: Fix several bugs related to the handling of NPAPI's NPPluginFuncs structure. r=bsmedberg a=blocking2.0final+
2010-12-03 00:20:59 -05:00
Robert O'Callahan
37ce525680
Bug 616901. Fix rect in nptest_windows.cpp, to fix misrendering in 580160-1-ref.html. r=bsmedberg a=tests-only
2010-12-10 10:30:50 -08:00
Scott Greenlay
0a5b711056
Bug 616271: Add architecture and list of invalid plugins to pluginreg, r=josh,taras a=blocking-beta9
2010-12-09 14:28:15 -08:00
Taras Glek
b9e24f22f3
Bug 616271 - Only check plugin validity once r=josh a=blocking-beta9
2010-12-10 10:23:48 -08:00
timeless@mozdev.org
3abf353848
Bug 615066 potential crash [@ nsPluginHost::HandleBadPlugin] if !aInstance
...
r=josh, a=josh
--HG--
extra : rebase_source : c9116eca854b56984cbebdf347658a8caa93a274
2010-12-08 12:22:10 +00:00