Jeff Walden
|
a517e35ac1
|
Readd ctypes, xpconnect, plugin, xpinstall, canvas, and typed array changes from bug 548702.
|
2010-03-29 19:47:40 -07:00 |
Jeff Walden
|
c40303ad03
|
Merge.
|
2010-03-26 21:53:40 -07:00 |
Jeff Walden
|
a0d46fb574
|
Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\
|
2010-03-26 18:01:54 -07:00 |
Marco Bonardo
|
ad99a83233
|
Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted
|
2010-04-01 13:29:13 +02:00 |
Robert Sayre
|
8bb5ea2dd3
|
Merge mozilla-central to tracemonkey.
|
2010-03-13 11:51:12 -05:00 |
Joel Maher
|
5a22815ee5
|
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
|
2010-03-12 13:53:36 -08:00 |
Jeff Walden
|
7df50c064b
|
Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
|
2010-01-11 11:52:21 -06:00 |
Josh Aas
|
59acb86a66
|
Initialize NPP structure's pdata pointer to NULL. Plugins can mistake an uninitialized non-NULL value for their own instance pointer and try to dereference it. b=555312 r=BenWa
|
2010-03-29 10:16:27 -04:00 |
Karl Tomlinson
|
fc254064fd
|
test bug 539897 r=jimm
|
2010-03-26 14:49:46 +13:00 |
Josh Aas
|
dd80aff490
|
Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent
|
2010-03-25 19:45:33 -04:00 |
Josh Aas
|
3e79e9929c
|
Back out patch for bug 554170 due to IPC bustage.
|
2010-03-25 17:11:14 -04:00 |
Josh Aas
|
b87e5149ee
|
Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent
|
2010-03-25 16:33:40 -04:00 |
Josh Aas
|
dedfd67e1d
|
Fix a compiler warning in nsNPAPIPluginInstance.cpp. No bug.
|
2010-03-25 14:57:30 -04:00 |
Chris Jones
|
afc75aa525
|
Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh
|
2010-03-24 16:22:04 -05:00 |
Nickolay Ponomarev
|
01e8f30c9d
|
bug 546629 - fix a wrong comment in the npruntime sample plugin code, r=joshmoz
|
2010-02-22 16:18:17 +03:00 |
Martin Stransky
|
b3c5fedb03
|
Bug 528900: Null check at _[pop|push]popupsenabledstate to avoid crashing r=jst
|
2010-02-20 08:53:10 -05:00 |
Brad Lassey
|
81f05268b9
|
Winmo bustage fix from bug 545080 r=dougt
|
2010-02-20 00:53:38 -05:00 |
Benjamin Smedberg
|
b34470570a
|
Followup to bug 545080, convert additional functions to the explicit "W" variants so that even when we're not building with -DUNICODE we always use unicode paths, r=Thunderbird bustage
|
2010-02-19 15:31:28 -05:00 |
Benjamin Smedberg
|
36636e17ce
|
Bug 545080 and bug 537344 - When UNICODE is defined in modules/plugin/base/src, we follow codepaths that aren't right, and the fields of nsPluginInfo are double-converted to UTF8, which is bad, r=josh
|
2010-02-13 16:59:39 -05:00 |
Karl Tomlinson
|
d1ac0ec8c7
|
b=540114 process reparent requests before removing the X error handler r=cjones
|
2010-02-18 11:05:24 +13:00 |
Karl Tomlinson
|
d778bae9bb
|
b=540114 reparent foreign children of the socket window before it gets destroyed r=cjones
|
2010-02-16 10:40:46 +13:00 |
Chris Jones
|
f5c04053c5
|
Backing out bug 550026 due to orange
|
2010-03-11 05:07:20 -06:00 |
Chris Jones ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
|
35e8b3111f
|
test for bug 550026 r=karlt+cjones
|
2010-03-08 09:17:57 +13:00 |
Saint Wesonga
|
c5dc69f6e5
|
Bug 550894 - unreachable code in nsPluginHost::PostURL. r=josh
|
2010-03-11 07:49:29 +01:00 |
Doug Turner
|
51e0338f86
|
Bug 550545 - The NPAPI ImageExpose event should be disabled when building for Qt. r=vlad
--HG--
extra : rebase_source : b66a81ba5a019e7da387eb81d4fd2454be196fe7
|
2010-03-10 15:01:46 -08:00 |
Josh Aas
|
fcb9bf889c
|
More Carbon usage cleanup. b=550787 r=bsmedberg
|
2010-03-10 14:30:11 -05:00 |
Benjamin Smedberg
|
b1e6f224bc
|
Bug 550944 - If a stream is alive at instance destruction, make sure we fire NPP_DestroyStream and NPP_URLNotify correctly. Also make the new-stream functions (NPN_GetURL etc) fail while we are destroying a plugin instance, r=josh
--HG--
extra : rebase_source : e94bc08bcc04c2ead28ac14bce7e3320a49c9d5a
|
2010-03-08 16:54:04 -05:00 |
Benjamin Smedberg
|
97329b78c0
|
Test for bug 550944 - When a stream is alive when a plugin instance is destroyed, NPP_DestroyStream and NPP_URLNotify are never called
--HG--
extra : rebase_source : cd5a5bca0964294fd74ab70123e805c4e0f9deac
|
2010-03-08 12:16:35 -05:00 |
Brad Lassey
|
4492ee705c
|
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
|
2010-03-09 22:33:11 -05:00 |
Julian Seward
|
c566ff03a9
|
Bug 548441. Don't write to ndata after we delete the object it's in. r=bzbarsky
|
2010-03-09 14:38:13 -05:00 |
Joel Maher
|
acb95ebf6d
|
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
|
2010-03-09 08:55:39 -08:00 |
Benoit Girard
|
eb541e800e
|
Add support for the NPAPI Core Animation drawing model. b=497225 r=josh sr=roc
|
2010-03-23 20:51:11 -04:00 |
Josh Aas
|
a00524ee6d
|
Fix incorrect type usage for NPP_SetValue NPNVprivateModeBool. b=544158 r=karlt
|
2010-03-17 13:17:09 -04:00 |
Justin Dolske
|
54d0f44f55
|
Bug 550293 - plugin-crashed UI needs more user opt-in. r=vlad, ui-r=faaborg
|
2010-03-16 22:10:08 -07:00 |
Kyle Huey
|
f78a715db2
|
Backed out changeset 8ce70abd7777
|
2010-03-09 01:14:21 -05:00 |
Joel Maher
|
4b8aff6ea3
|
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
|
2010-03-08 19:21:33 -08:00 |
Benjamin Smedberg
|
e530de957c
|
Followup to bug 548217 - Instead of using a bizarre dual-refcounting scheme, explicitly track when nsPluginStreamListenerPeer.mLocalCachedFile is shared and should be deleted, r=josh
--HG--
extra : rebase_source : 97f6bebfdb99f0c0cbd8cd033e62492fcb755d09
|
2010-03-06 14:38:54 -05:00 |
Benjamin Smedberg
|
5effb3a08b
|
1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : 372df117d2b0c955605f44ee0e2fa512f0ad972b
|
2010-02-23 21:58:27 -05:00 |
Clint Talbert
|
b962e844a9
|
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
|
2010-03-07 17:34:23 -08:00 |
Joel Maher
|
0c7928ce7d
|
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
|
2010-03-07 16:08:05 -08:00 |
Uli LInk
|
62735a87c6
|
Bug 548213. Fix C++-style comment in C code. r=josh
|
2010-03-05 13:10:42 +13:00 |
Chris Jones
|
cb3531ba5d
|
Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg
|
2010-03-03 23:02:57 -06:00 |
Chris Jones
|
189c9e51ca
|
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
|
2010-03-03 23:02:55 -06:00 |
Steven Michaud
|
95ddb6d412
|
Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh
|
2010-03-02 10:59:01 -06:00 |
Benjamin Smedberg
|
f057b7256f
|
Merge backout of bug 548217 because of topcrash bug 549112
|
2010-02-27 17:40:03 -05:00 |
Benjamin Smedberg
|
e2c7ae2b80
|
Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112
|
2010-02-27 17:36:54 -05:00 |
Benjamin Smedberg
|
c0938551bf
|
Bug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh/jst
|
2010-02-23 21:58:27 -05:00 |
Benjamin Smedberg
|
b12e704978
|
Bug 532208: Test for large streams
|
2010-02-26 13:07:58 -06:00 |
Benjamin Smedberg
|
ea6f4bc48f
|
Merge backout of bug 548217
|
2010-02-25 03:59:05 -08:00 |
Benjamin Smedberg
|
168c083b82
|
Backed out changeset 77dc38d8196e - bug 548217 because even though this patch is correct, it exposes a bug in the OOPP code which got backed out.
|
2010-02-25 03:57:57 -08:00 |
Benjamin Smedberg
|
e9192a6cea
|
1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : fba343acbfcaa785c7405552d42f4558424b485c
|
2010-02-23 21:58:27 -05:00 |
Ben Turner
|
dc64c3b2f5
|
Fix #warning, msvc doesn't have that.
--HG--
extra : rebase_source : 06b12ba7cb87045261a1bb042a654cac4d573bd1
|
2010-02-16 13:04:16 -08:00 |
Chris Jones
|
6641f8c8cf
|
Bug 544945: Mochitest of clipboard interaction that forces the plugin subprocess into a nested event loop on gtk2 platforms. r=karlt
--HG--
extra : rebase_source : f9fb43d4bf4c3991bbdf30f6d999d315ee7a2407
|
2010-02-16 12:44:26 -06:00 |
Benjamin Smedberg
|
9d2e1daf14
|
Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent
|
2010-02-24 16:34:17 -05:00 |
Benjamin Smedberg
|
02cfa62f9d
|
Bug 543977 - NPClass.invoke should be optional when a class just wants to implement NPClass.invokedefault, r=jst
--HG--
extra : rebase_source : 2e1fb9896bcbf12bc6d2772c02a1cc9557efe6eb
|
2010-02-17 13:30:54 -05:00 |
Benjamin Smedberg
|
47264bd4bf
|
Actually run test_GCrace.html from bug 542263 which was committed in revision e9d8b376d014. The missing Makefile change is due to a bad transplant which I didn't notice :-( r=bent
--HG--
extra : rebase_source : 0057b1362919a34460ba3c72afd990952ad53d25
|
2010-02-17 13:30:37 -05:00 |
Karl Tomlinson
|
32eb8a163b
|
b=543901 only call NPPluginFuncs::getvalue when non-NULL and remove NPP_GetValue NPPVpluginWindowBool NPPVpluginTransparentBool r=cjones
|
2010-02-04 13:02:48 +13:00 |
Chris Jones
|
ec5682b194
|
Bug 544345: Mochitest of plugin hangs. r=bsmedberg
--HG--
extra : transplant_source : %0F%8A%10%CC%7C%A3%1C%F3%A1%05%B0%0D%AA%7EH%A6%29%23%EE%85
|
2010-02-11 14:32:19 -06:00 |
Oleg Romashin
|
a5747b7251
|
bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz.
|
2010-02-10 22:48:20 +02:00 |
Benjamin Smedberg
|
57b73994b1
|
Followup to bug 543086 - PBBUILD isn't set until you include config.mk, use PBBUILD_BIN instead
|
2010-02-10 12:40:53 -05:00 |
Ted Mielczarek
|
a6a2a69b26
|
Bug 541446 - sort out details of where OOP minidumps should wind up. r=benjamin
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify.xul => modules/plugin/test/mochitest/test_crash_notify_no_report.xul
|
2010-02-09 17:05:31 -08:00 |
Ted Mielczarek
|
ed68d8d845
|
Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted
|
2010-02-09 17:05:31 -08:00 |
Doug Turner
|
34f05ad210
|
Bug 543976 - Clean up Maemo defines. r=ted
|
2010-02-09 11:02:11 -08:00 |
Boris Zbarsky
|
ef684f955a
|
Bug 543086. Don't try to build the default plug-in on mac if we don't have pbbuild. It'll just fail. r=ted
|
2010-02-09 12:09:06 -05:00 |
Josh Aas
|
0e7ec082da
|
Fix our plugin library loading code so that it works in 64-bit builds. 64-bit NSPR does not support bundle loading. b=544579 r=smichaud
|
2010-02-08 13:22:25 -06:00 |
Josh Aas
|
241c78dae0
|
More complete plugin architecture check for Mac OS X. Support 64-bit-only plugins and stop assuming that any universal binary plugin has the correct architecture. Fixes bug 544433 and bug 544437. r=smichaud
|
2010-02-06 23:29:58 -06:00 |
Josh Aas
|
15f054c9b9
|
Make all scriptable methods in nsIPluginHost appear before the C++ code. b=542712 r=jst
|
2010-02-06 16:07:13 -06:00 |
Benjamin Smedberg
|
8ad3329b5e
|
Bug 544016 - If two plugins are available for a MIME type, prefer the enabled one to the disabled/blocklisted one, r=josh
--HG--
extra : rebase_source : 8c4382719dd8886634a8f89a85d89af1e96f6c4d
|
2010-02-03 16:52:07 -05:00 |
Benjamin Smedberg
|
3f49678422
|
Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places
--HG--
extra : rebase_source : 92a3bc42926934ec4f077657d4c519809fa71df0
|
2010-02-03 09:09:16 -05:00 |
Daniel Holbert
|
0e37edb472
|
Backed out changeset 8006ad2d0c06 (tests for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle.
|
2010-02-02 18:57:15 -08:00 |
Benjamin Smedberg
|
13bfdf8175
|
Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places
|
2010-02-02 17:18:41 -08:00 |
Benjamin Smedberg
|
106f956fbd
|
revert changeset f61e06c31086 (bug 542971) since it caused bug 543376.
|
2010-02-02 17:18:37 -08:00 |
Benjamin Smedberg
|
da3b7875c3
|
Bug 542248 - ASSERTION: Shouldn't return null and NPERR_NO_ERROR (and then crash) navigation from one silverlight page to another, r=josh
|
2010-02-02 09:46:25 -05:00 |
Ben Turner
|
f4d48a3295
|
Bug 542915 - 'Protect DelayedReleaseGCCallback from reentering and double-freeing NPObjects' r=jst+josh.
--HG--
extra : transplant_source : %5B%C1%C3QH%22%22%24%9D%A2%CE%E9%907%941%8F%F5%07%19
|
2010-02-01 12:35:48 -08:00 |
Josh Aas
|
9b5c700983
|
Clean up a bunch of things in nsNPAPIPlugin. b=543339
|
2010-01-31 16:41:26 -05:00 |
Daniel Holbert
|
d257808ca5
|
Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones
|
2010-01-29 12:18:50 -08:00 |
Josh Aas
|
7bae4581d4
|
Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst
|
2010-01-29 14:42:54 -05:00 |
Ben Turner
|
9bf1222a95
|
Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' Followup fix, r=roc.
--HG--
extra : transplant_source : ._%92%D6%40%FE%1E%92%01%11%7F%BA%2A%EF%24Y%84%DC6%0E
|
2010-01-28 12:23:07 -08:00 |
Ben Turner
|
b9898d2933
|
Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm.
|
2010-01-28 11:32:41 -08:00 |
Benjamin Smedberg
|
fe3cc6b5cd
|
Bug 539063 - Implement a whitelist/blacklist for OOPP, r=josh
|
2010-01-28 10:31:53 -05:00 |
Oleg Romashin
|
44618a6827
|
Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g
|
2010-01-28 07:22:41 +02:00 |
Chris Jones
|
381a76fa31
|
Bug 542356: Initialize the NPError outparam passed to NPP_New() so that plugins must set it to NPERR_NO_ERROR (and so as to work around a valgrind UMR false-positive for OOPP). r=joshmoz
|
2010-01-27 17:45:34 -06:00 |
Benjamin Smedberg
|
b4fafce2f4
|
When calling a null function pointer, breakpad apparently skips a frame. In order for intentionalCrash() to appear in the minidump, try dereferencing a null pointer instead.
--HG--
extra : transplant_source : %C4et%5B3%B1%163N%84%FF%04%BB%0AC%8E%A7%0AzX
|
2010-01-27 11:31:03 -05:00 |
Benjamin Smedberg
|
b34edc8b41
|
Rename Crash() to IntentionalCrash() so that automation can grep for it. Make it non-static, and add trailing instructions to it so that it isn't inlined nor tail-called away in crash reports.
--HG--
extra : transplant_source : %D7R%95%D1%FD%14%F3%F0V%033%0BQ%3F%9E%AB%E4%A7%A7J
|
2010-01-25 17:26:23 -05:00 |
Benjamin Smedberg
|
207bae8f98
|
Bug 541707 - semi-random failures in test_crashing2.html, probably due to interminism in the crash/crashreport/reload sequence
--HG--
extra : rebase_source : eaa6c45f5383e14b7d64dc71bc84c91256144864
|
2010-01-27 08:49:36 -05:00 |
Jim Mathies
|
11a6289cba
|
Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent.
--HG--
extra : rebase_source : bdb40f27e098519ecd71abd75a80e8e612f888f8
|
2010-01-26 15:40:15 -06:00 |
Josh Aas
|
825c0c7e50
|
Get rid of nsPluginInstanceTagList. Make this code easier to deal with and less error-prone. b=535643 r=jst
|
2010-01-26 20:30:58 -05:00 |
Gavin Sharp
|
5eb7b4ec9b
|
Bug 189378: add pref to disable plugins in the browser, r=josh
--HG--
extra : rebase_source : 7f70e2585d6b2840fa801969e5af50c5e81caca8
|
2009-10-05 05:00:57 -04:00 |
Jonathan Griffin
|
26bea74f18
|
Bug 539755. Fix tests to use 'basic' instead of 'http' for the scheme parameter.
|
2010-01-26 09:22:49 -08:00 |
Jonathan Griffin
|
c5e456d48f
|
Bug 518924. Fix memory leak in NPAPI async callback test and re-enable
|
2010-01-25 12:20:30 -08:00 |
Phil Ringnalda
|
cd4e67dd7c
|
Bug 518924 - disable mochitests, since one of them is leaking every Md6 run on Windows and Linux
|
2010-01-22 22:16:16 -08:00 |
Jonathan Griffin
|
1862272262
|
Bug 518924. Add tests for NPAPI timers and async callbacks. r=bsmedberg
|
2010-01-22 17:13:26 -08:00 |
Jonathan Griffin
|
5652943718
|
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
|
6098f72b75
|
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
|
6bf80a4322
|
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
|
400ab7af46
|
Bug 538816 - Fix typos in "basic" SDK sample plugin. r=josh
|
2010-01-21 13:16:51 +01:00 |
Josh Aas
|
5abc4b4364
|
Fix default plugin drawing on Mac OS X. No bug. r=smichaud
|
2010-01-20 18:59:38 -05:00 |
Benjamin Smedberg
|
d5569aef96
|
Followup to bug 530980 - Make the setCookie() method initialize its return value
|
2010-01-19 17:34:10 -05:00 |
Josh Aas
|
2f8807d42c
|
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
|
bf4822826c
|
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
|
72d3d4469d
|
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
|
2a334701c4
|
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
|
001c608961
|
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
|
f44b93a74c
|
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
|
21d2797b10
|
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
|
5d9f96f332
|
Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg
|
2010-01-13 11:42:41 -05:00 |
Benjamin Smedberg
|
3ee85c71b2
|
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
|
83569d2e17
|
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
|
19be1cc787
|
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
|
5be69a6f86
|
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
|
302ba7a683
|
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
|
42b28cb199
|
Bug 536303 - OOPP: disable oopp for Windows 2000. r=benjamin.
|
2010-01-10 17:50:36 -06:00 |
Benjamin Smedberg
|
4b5ff77b88
|
Tests for bug 532246, r=jst
|
2009-12-02 12:02:16 -05:00 |
Benjamin Smedberg
|
fcc5b377f5
|
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
|
528ae1cd3a
|
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
|
608b1498cd
|
Minor cleanup, no bug. a=bsmedberg
|
2010-01-05 13:30:00 -05:00 |
Chris Jones
|
dfe01eaa40
|
Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent
|
2010-01-04 15:46:34 -06:00 |
Makoto Kato
|
e47179dc9c
|
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
|
86946f1da5
|
Fix test_painting.html bustage on Win and OS X from changeset 4f5630e68d04
|
2009-12-31 11:11:17 +01:00 |
Karl Tomlinson
|
2b5cf7dc46
|
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
|
81881d970b
|
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
|
124a49a75b
|
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
|
fbcccce5c4
|
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
|
6cd3d5595f
|
Bug 535872 - Make nptest_windows.cpp compile on new mingw, r=roc
|
2009-12-29 14:21:49 -05:00 |
Benjamin Smedberg
|
b73ef1efd8
|
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
|
7e60cd7e22
|
Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy
|
2009-12-21 12:37:32 -05:00 |
Benjamin Smedberg
|
a0b17293c6
|
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
|
1626e7fc76
|
b=532627; nsPluginHostImpl::WritePluginInfo should call PR_Sync before PR_Close, r=jst
|
2009-12-23 13:58:54 +02:00 |
Blake Kaplan
|
54f2dafce0
|
Bug 535641 - Move this declaration around. r=jst
|
2009-12-22 16:54:06 -05:00 |
Josh Aas
|
f1a5512836
|
Improve plugin instance stopped/started state management. b=535660 r=roc
|
2009-12-17 21:09:22 -05:00 |
Josh Aas
|
3d5f6a6ab5
|
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
|
4c0c79d6aa
|
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
|
0aab6012fe
|
Merge mozilla-central to electrolysis.
|
2009-12-16 19:02:20 -05:00 |
Josh Aas
|
c65df7f22e
|
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
|
dec7565457
|
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
|
ad30c2f3ad
|
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
|
bf0e6d00f0
|
Merge mozilla-central into electrolysis
|
2009-12-16 08:38:42 -05:00 |
Josh Aas
|
e8fe94f73f
|
Separate plugin tag code from the plugin host. b=533371 r=jst
|
2009-12-16 08:16:42 -05:00 |
Benjamin Smedberg
|
1554d55745
|
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
|
bfa43ef17d
|
Merge mozilla-central into electrolysis.
|
2009-12-15 20:31:04 -05:00 |
Josh Aas
|
cd4b04cefc
|
Windows bustage fix, b=533371
|
2009-12-15 20:21:57 -05:00 |
Robert O'Callahan
|
4057bab9c5
|
Backing out test for bug 533371 to try to fix leaks
|
2009-12-16 12:54:59 +13:00 |
Robert O'Callahan
|
6d97419c5b
|
Backed out changeset 682926ebca13
|
2009-12-16 12:54:30 +13:00 |
Josh Aas
|
ca36c7f042
|
Separate plugin tag code from the plugin host. b=533371 r=jst
|
2009-12-15 17:47:22 -05:00 |
Josh Aas
|
337dfc2093
|
Back out bug 533371 due to Windows bustage.
|
2009-12-15 22:16:04 -05:00 |
Josh Aas
|
827478b8d3
|
Backed out changeset cbb4f67c6b68
|
2009-12-15 22:15:39 -05:00 |
Josh Aas
|
733a45b95c
|
Backed out changeset 892d3eb10151
|
2009-12-15 22:14:48 -05:00 |
Josh Aas
|
82f7ab23fe
|
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
|
5d1bdab88d
|
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
|
511810cb85
|
Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar.
|
2009-12-14 18:27:25 -06:00 |
Josh Aas
|
4ff4558786
|
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
|
1c0c3d31aa
|
test_crashing.html had windows-style line endings.
|
2009-12-14 09:14:28 -05:00 |
Benjamin Smedberg
|
c274ce87d8
|
Merge mozilla-central into electrolysis.
|
2009-12-14 08:01:18 -05:00 |
Ben Turner
|
78fcc09c48
|
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
|
542914ba7c
|
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
|
b137714cd1
|
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
|
bb3fadfda5
|
rename conflicting crash() symbol that's breaking the mac build
|
2009-12-04 23:15:18 -06:00 |
Benjamin Smedberg
|
e0e78bb905
|
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
|
5fbea02594
|
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
|
5843f64779
|
!MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
|
2009-12-04 13:53:59 -05:00 |
Benjamin Smedberg
|
663016e74b
|
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
|
d82f3ac756
|
Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh
|
2009-12-03 15:33:27 -05:00 |
Benjamin Smedberg
|
5cc5de47c0
|
Merge mozilla-central into electrolysis
|
2009-12-04 11:28:50 -05:00 |
Benjamin Smedberg
|
62511d645e
|
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
|
0610fd6349
|
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
|
fb7820fa39
|
Bug 526401 - Fixup handling of null NPP. r=bsmedberg.
|
2009-12-01 13:27:13 -08:00 |
Josh Aas
|
f409847808
|
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
|
ebb5f3fbbd
|
Merge mozilla-central into Electrolysis
|
2009-11-30 12:59:43 -05:00 |
Johnny Stenback
|
f5e9f61b7b
|
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
|
70fc9c0f28
|
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
|
5d79872b6a
|
Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc
|
2009-11-25 02:40:46 -05:00 |
Benjamin Smedberg
|
e0b27abbbf
|
Merge mozilla-central into Electrolysis.
|
2009-11-24 10:06:03 -05:00 |
Josh Aas
|
547cb610a2
|
Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB.
|
2009-11-23 14:08:41 -05:00 |
Josh Aas
|
4f6014cb7b
|
Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB.
|
2009-11-23 13:57:27 -05:00 |
Benjamin Smedberg
|
4fafe32fb3
|
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
|
6d25cf367a
|
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
|
7e40d6c15f
|
Merge mozilla-central into electrolysis.
|
2009-11-19 12:41:46 -05:00 |
Benjamin Smedberg
|
be6024f6bb
|
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
|
ea90e1d517
|
Bug 525792 - 'Fix leaks running mochitests'.
|
2009-11-12 14:16:54 -08:00 |
Benjamin Smedberg
|
bbfa82dbd9
|
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
|
8b4fbf702c
|
Merge mozilla-central into electrolysis.
|
2009-11-11 12:35:42 -05:00 |
Ben Turner
|
f993dfcfe8
|
Fix silly bugs
|
2009-11-09 17:30:02 -08:00 |
Benjamin Smedberg
|
db5385a0a2
|
Merge from mozilla-central.
|
2009-11-06 09:54:28 -05:00 |
Benjamin Smedberg
|
380ed446a9
|
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
|
dfe557b425
|
bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r=
|
2009-11-03 15:37:07 -06:00 |
Benjamin Smedberg
|
d3a1c8cd1f
|
Merge mozilla-central into e10s.
|
2009-10-28 11:32:00 -04:00 |
Josh Aas
|
2cbfedd4a8
|
Allow multiple types of OOP plugins to load. b=516509 r=cjones
|
2009-10-27 15:51:12 -04:00 |
Ben Turner
|
97a09ee2c7
|
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
|
1ddd6a47d6
|
Merge mozilla-central to electrolysis.
|
2009-10-20 12:08:28 -04:00 |
Jonathan Griffin
|
70187bd76e
|
Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
|
2009-10-19 14:00:59 -07:00 |
Jonathan Griffin
|
535b97bce6
|
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
|
639f6bdb00
|
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
|
8fda4a36b6
|
Merge mozilla-central to electrolysis to pick up bug 515436.
|
2009-10-12 10:51:38 -04:00 |
Ben Turner
|
9c4b8d88e9
|
Bug 516524 - Support NPRuntime across processes. r=bsmedberg.
|
2009-10-07 16:50:48 -07:00 |
Ben Turner
|
bb78c40ad1
|
Merge mozilla-central
|
2009-10-05 16:08:52 -07:00 |
Chris Jones
|
97761142b5
|
basic support for windowless X11 plugins. gfx not quite working yet
|
2009-09-24 21:03:59 -05:00 |
Ben Turner
|
bb8b8c2df9
|
Merge mozilla-central
|
2009-09-23 13:14:34 -07:00 |
Benjamin Smedberg
|
f483632546
|
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
|
fa245d1e70
|
[OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher
|
2009-09-22 15:49:26 +02:00 |
Benjamin Smedberg
|
6b947c11ea
|
Merge mozilla-central into electrolysis to pick up new plugin tests.
|
2009-09-21 10:57:57 -04:00 |