Commit Graph

211 Commits

Author SHA1 Message Date
Karl Tomlinson
abb056b156 b=561770 soft fail with todo if the plugin doesn't crash at precisely the right time
--HG--
extra : rebase_source : e035ef1b8c4e40354704c173977c08855081f90c
2010-04-29 08:53:12 +12:00
Mats Palmgren
9fdc4d1c16 Invert CSS transforms for the mouse event coordinate sent to the plugin. Original fix by Victor <vik@dhtmlx.com>. b=539565 r=josh 2010-04-27 18:15:02 +02:00
Josh Aas
483533a0ce Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Josh Aas
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Chris Jones ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
98a40f8684 test for bug 550026
--HG--
extra : rebase_source : 4fde8da0a361a36da3540c9295762b4b744d1e5c
2010-04-21 15:33:14 +12:00
Karl Tomlinson
db2ed92c3d correct title
--HG--
extra : rebase_source : e2208a02660bd5255933840fe3c051cc4110b6b6
2010-04-21 15:01:56 +12:00
Benjamin Smedberg
6d3497ef39 Test for bug 560213 - heap corruption accessing new properties of a crashed plugin
--HG--
extra : rebase_source : 96ef81257c3b23ddf50daa9df85cae54559fe86a
2010-04-19 10:35:51 -04:00
Josh Aas
4e291e29b0 64-bit Mac OS X bustage fix. b=555274 2010-04-14 19:33:50 -04:00
Josh Aas
3271b451f7 Make Mac OS X test plugin more flexible about negotiating an event model. Allow it to negotiate the Cocoa event model when necessary (out of process, for example). b=555274 r=cjones 2010-04-14 19:02:25 -04:00
Benjamin Smedberg
1fd3247596 Bug 558397 - Some PDF files don't open when loaded full-page because the nsNPAPIPluginStreamListenerPeer.mURI isn't initialized in that case, r?josh
--HG--
extra : rebase_source : 948a8ef46319d5107247493d6ed158c6c0608f6c
2010-04-12 14:40:38 -04:00
Justin Dolske
f72ceb215b Bug 544597 - Remap plugin names to a more readable form for plugin-crashed UI. r=gavin, r=jst 2010-04-08 00:45:00 -07:00
Chris Jones
582cc49f92 Bug 557125: Don't use the STL wrappers in testplugin, it's not Gecko code. r=bsmedberg 2010-04-08 13:05:03 -05:00
Ehsan Akhgari
995faa7109 Bug 555289 - Plugin crashed UI should be RTL in RTL locales (Further fixes + tests); r=dao,dbaron 2010-04-07 19:35:09 -04:00
Ben Turner
3bc6840df2 Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 17:16:19 -07:00
Ben Turner
3816aaa018 Backed out changeset 0ed675647700 for failing tests 2010-04-07 15:01:23 -07:00
Ben Turner
7197e38d9d Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 13:55:10 -07:00
Josh Aas
1880c25884 Test plugin should always draw with Core Text on Mac OS X. b=557521 r=bgirard 2010-04-07 15:31:31 -04:00
Ginn Chen
e6c5ace83f Bug 552622 Failed to build mochitest on Solaris r=ted.mielczarek 2010-04-07 14:17:51 +08:00
Josh Aas
dac88f2abc Bug 555234: Enable OOPP for x86 OS X and don't export mochitests conditional on MOZ_IPC. r=bsmedberg,ted 2010-04-02 20:19:31 -05:00
Marco Bonardo
fa71af01e3 Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Josh Aas
fc1d594cb2 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
c4f10a344b test bug 539897 r=jimm 2010-03-26 14:49:46 +13:00
Chris Jones
7329573dd7 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
Joel Maher
d050afae06 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
Chris Jones
97cf462418 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)
db07ec03f8 test for bug 550026 r=karlt+cjones 2010-03-08 09:17:57 +13:00
Benjamin Smedberg
b0c6119cf2 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
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 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
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 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
ced61e4b02 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
2a5f3518de 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
7ffd9496bc 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
ef6c5fda3d 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
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Benjamin Smedberg
b3d0b9cadd Merge backout of bug 548217 because of topcrash bug 549112 2010-02-27 17:40:03 -05:00
Benjamin Smedberg
0b629a5939 Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112 2010-02-27 17:36:54 -05:00
Benjamin Smedberg
958042217d 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
429147b570 Bug 532208: Test for large streams 2010-02-26 13:07:58 -06:00
Benjamin Smedberg
1976dbb0b7 Merge backout of bug 548217 2010-02-25 03:59:05 -08:00
Benjamin Smedberg
7985a1dcb1 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
4a49a68e09 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
fa9f8c3513 Fix #warning, msvc doesn't have that.
--HG--
extra : rebase_source : 06b12ba7cb87045261a1bb042a654cac4d573bd1
2010-02-16 13:04:16 -08:00
Chris Jones
d3f03a7d84 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
a884a24043 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
29f2801f1e 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
Chris Jones
efa51c360c 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
Ted Mielczarek
7534f6eb66 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