Jonathan Griffin
|
ce90ed0a0d
|
Test for bug 539755, NPN_GetAuthenticationInfo
--HG--
extra : transplant_source : %1E%F7%C1%BF0%14Ul%0Ex%ABJ%0A%B9Z%0CX4%02%98
|
2010-01-21 14:35:03 -05:00 |
|
Benjamin Smedberg
|
915969ff29
|
Bug 541155 - test_loadflags.html doesn't reset prefs properly (manifests as a failure in modules/plugin/test/test_cookies.html), r=dwitte
--HG--
extra : transplant_source : VM%EB%A5.b%EC%CB1%1FGB%C2%A0%0E%C4%60%B0r4
|
2010-01-21 14:11:49 -05:00 |
|
Benjamin Smedberg
|
bb04a0052e
|
Remove the result-initialization from e9c045ce1618 which shouldn't be needed, bug 540776 fixed this the correct way.
--HG--
extra : transplant_source : %E1%B4%D8%1E%84%8C%8F%A5%3A%E8%C7%FB%17%F2%DA%05%DDE%B6%21
|
2010-01-20 14:08:42 -05:00 |
|
Saint Wesonga
|
c5d2e640b0
|
Bug 538816 - Fix typos in "basic" SDK sample plugin. r=josh
|
2010-01-21 13:16:51 +01:00 |
|
Josh Aas
|
811332f5a6
|
Fix default plugin drawing on Mac OS X. No bug. r=smichaud
|
2010-01-20 18:59:38 -05:00 |
|
Benjamin Smedberg
|
83a5e9f243
|
Followup to bug 530980 - Make the setCookie() method initialize its return value
|
2010-01-19 17:34:10 -05:00 |
|
Josh Aas
|
dd2c892251
|
Add a plugin test that sets and then gets a cookie. b=530980 r=roc
|
2010-01-19 15:45:21 -05:00 |
|
Jim Mathies
|
c816891a55
|
Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
|
2010-01-15 16:02:01 -06:00 |
|
Ben Turner
|
471d1a3e1b
|
Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
|
2010-01-15 12:35:57 -08:00 |
|
Peter Van der Beken
|
076d23ead6
|
Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange.
|
2010-01-19 13:00:58 +01:00 |
|
Ben Turner
|
37ff4409a5
|
Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
|
2010-01-15 12:35:57 -08:00 |
|
Chris Jones
|
80b004dd05
|
Bug 538532: When a plugin crashes, make sure all its instances are "stopped" ASAP. r=bsmedberg r=josh
--HG--
extra : rebase_source : 4355e574e5cf74da76ef5773e16fa3bd9a09225e
|
2010-01-12 00:45:24 -06:00 |
|
Chris Jones
|
2d1e4c2722
|
Bug 538532: Add the helper method nsPluginHost::FindTagForPlugin(). r=josh
--HG--
extra : rebase_source : c7192818d9f6e42510e681286a4dda774df8a94c
|
2010-01-12 00:45:23 -06:00 |
|
Josh Aas
|
9f1683fecf
|
Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg
|
2010-01-13 11:42:41 -05:00 |
|
Benjamin Smedberg
|
6d0ab1c884
|
Bug 538642 part 1: Add a method to the testplugin to set the exception bit, the way some bad plugins/extensions do, r=ted (Windows-only for the moment)
|
2010-01-08 15:53:04 -05:00 |
|
Benjamin Smedberg
|
84797e72d2
|
Disable the malformed-data-URI test, since the plugin host is broken and we're double-deleting the urlnotify context pointer in the testplugin.
--HG--
extra : transplant_source : %1Et%11L%F7%13%F6%FCl%C4%0C%C8%95%04%AF-%14%0E%C1%B5
|
2010-01-11 14:36:11 -05:00 |
|
Benjamin Smedberg
|
100035ff72
|
Our plugin host has a bug with malformed data URIs: mark this test todo.
--HG--
extra : transplant_source : %F1%3F%BD%26%1E%DF%1De%0E%1A%18%8C%C7%1F%D6m%0CIQ%88
|
2010-01-07 14:51:37 -05:00 |
|
Benjamin Smedberg
|
095bd7f538
|
Followup to bug 536437 - fix the test so that we wait for the new tests to complete
--HG--
extra : transplant_source : %B0%87%C6%A1%3C%29%C0e%8C%99%A9%11%7E_%AA%B9r%D8%10%A6
|
2010-01-07 10:57:18 -05:00 |
|
Benjamin Smedberg
|
66ce889c9b
|
Tests for bug 536437
--HG--
extra : transplant_source : %5D.%3C%D9%90%C6%A9B%5E%F8O4%F5e%95%0AO%BC8%27
|
2010-01-05 12:12:41 -05:00 |
|
Jim Mathies
|
bd95331a3a
|
Bug 536303 - OOPP: disable oopp for Windows 2000. r=benjamin.
|
2010-01-10 17:50:36 -06:00 |
|
Benjamin Smedberg
|
43b7734985
|
Tests for bug 532246, r=jst
|
2009-12-02 12:02:16 -05:00 |
|
Benjamin Smedberg
|
86980c504e
|
Bug 532246 - Plugins should not be able to obtain an NPObject* belonging to a different NPP, because that instance may go away before this one and the NPObject* may be invalidated and destroyed. Double-wrap in these cases. r=josh sr=jst
|
2009-12-02 12:02:41 -05:00 |
|
Robert O'Callahan
|
bd19a6fd42
|
Bug 527864. Add support to the test plugin to detect what width was used at the last paint. r=josh
|
2010-01-07 14:11:27 +13:00 |
|
Josh Aas
|
0487ff44e4
|
Minor cleanup, no bug. a=bsmedberg
|
2010-01-05 13:30:00 -05:00 |
|
Chris Jones
|
a20ac7326a
|
Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent
|
2010-01-04 15:46:34 -06:00 |
|
Makoto Kato
|
86412ece0c
|
Bug 535495 - build break test plugin on x64 due to changeset 9c16bf14545c. r=josh
|
2010-01-01 23:00:18 +09:00 |
|
Dão Gottwald
|
023f0431f3
|
Fix test_painting.html bustage on Win and OS X from changeset 4f5630e68d04
|
2009-12-31 11:11:17 +01:00 |
|
Karl Tomlinson
|
b3ef40a9ee
|
bug 535687 is not fixed yet so mark todo for mochitest-ipcplugins
--HG--
extra : rebase_source : ff6a13dc4dfbbac62071328bc9202eb2f9169d99
|
2009-12-31 20:32:51 +13:00 |
|
Karl Tomlinson
|
0794ab1863
|
test windowless invalidation (b=535687) and expose events with clips (b=445707)
--HG--
extra : rebase_source : 4befde6a6635d53f60e628b74576cc1dcb1fe1c2
|
2009-12-31 16:20:51 +13:00 |
|
Karl Tomlinson
|
cf708b8138
|
b=537301 add sanity checks on expose event rectangle and use for drawmode=solid r=roc
--HG--
extra : rebase_source : f2ccccc0d7e16c17f70048b856cf08c4ed20c774
|
2009-12-31 16:19:30 +13:00 |
|
Michael Wu
|
27fd1e717b
|
Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst]
|
2009-12-27 14:26:00 -06:00 |
|
Jacek Caban
|
f4e35e2c70
|
Bug 535872 - Make nptest_windows.cpp compile on new mingw, r=roc
|
2009-12-29 14:21:49 -05:00 |
|
Benjamin Smedberg
|
a4e17b427f
|
Fix the test for bug 535298 - because plugin instantiation is asynchronous, we are crashing the plugin process after we meant to, which leads to a JS error and a hung test
|
2009-12-22 10:38:42 -05:00 |
|
Benjamin Smedberg
|
47b4c82551
|
Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy
|
2009-12-21 12:37:32 -05:00 |
|
Benjamin Smedberg
|
2d48c3e186
|
Re-enable test_crashing.html on the electrolysis branch to see how random/reproducible it is.
|
2009-12-17 13:11:49 -05:00 |
|
Oleg Romashin
|
bd7430f326
|
b=532627; nsPluginHostImpl::WritePluginInfo should call PR_Sync before PR_Close, r=jst
|
2009-12-23 13:58:54 +02:00 |
|
Blake Kaplan
|
b03049c0f2
|
Bug 535641 - Move this declaration around. r=jst
|
2009-12-22 16:54:06 -05: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|