Commit Graph

203 Commits

Author SHA1 Message Date
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
Ted Mielczarek
d40733d453 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
Benjamin Smedberg
936c70b8c5 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
7f88cb2313 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
49079e3a39 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg
f55c3f38ef 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
05f44c363f 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
ce6c755ed6 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
Jonathan Griffin
fe5929b77f Bug 539755. Fix tests to use 'basic' instead of 'http' for the scheme parameter. 2010-01-26 09:22:49 -08:00