Commit Graph
155 Commits
Author SHA1 Message Date
Brad Lassey b05bda5867 bug 577347 - testplugin doesn't build for android r=joshmoz 2010-07-09 10:57:10 -07:00
Mats Palmgren 46fb67c4aa Null-check frame (which is needed when bounds width/height is zero) and clamp negative values to zero. b=570884 r=josh 2010-06-09 21:07:41 +02:00
a9508f0096 Bug 563200 fix deprecated conversion and comparison between signed and unsigned in testplugin/nptest.cpp. r=jst 2010-05-23 15:32:42 -07:00
Neil Rashbrook 1285f2e1c9 Bug 564068 Test plugin should always use the NPN allocator r=jst 2010-05-11 10:46:38 +01:00
Benjamin Smedberg 88a4db1c18 Test for bug 564861 - Make sure that integer identifiers work correctly when running OOPP 2010-05-10 17:11:31 -04:00
Benjamin Smedberg abc0b50c8b Test for bug 564607 - Firefox crashes when an OOPP plugin implements NPClass.enumerate 2010-05-10 17:11:14 -04:00
Josh Aas 2696658adf Sync Mozilla's NPAPI headers to npapi-headers r12. b=563448 sr=jst 2010-05-06 01:13:11 -04:00
Josh Aas 0e6279dfeb Backed out changeset 955501353745 2010-05-05 15:58:41 -04:00
Josh Aas 1287d4928c Sync Mozilla's NPAPI headers to npapi-headers r10. b=563448 sr=jst 2010-05-05 15:46:32 -04:00
Dão Gottwald d5fa1b514f Backed out changeset 1052ee218ba6 2010-05-02 14:19:54 +02:00
88528777ae Bug 556309 getError with STRINGZ_TO_NPVARIANT macro evaluates argument (strdup) more than once
r=jst
2010-05-02 12:48:48 +02:00
Karl Tomlinson 020ae75def Test for bugs 539138 and 561308 2010-04-29 23:02:52 +12:00
Karl Tomlinson 098e280346 test for bug 540114 2010-04-29 09:03:34 +12:00
Josh Aas 621e7d7d17 Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Josh Aas f13dd41281 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin fd5037830a Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt 2010-04-20 21:49:34 +03:00
Chris Jones 3e4b495b83 test for bug 550026 2010-04-21 15:33:14 +12:00
Josh Aas 52f928083a 64-bit Mac OS X bustage fix. b=555274 2010-04-14 19:33:50 -04:00
Josh Aas d66907235a 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 686c84b28c Bug 558397 - Some PDF files don't open when loaded full-page because the nsNPAPIPluginStreamListenerPeer.mURI isn't initialized in that case, r?josh 2010-04-12 14:40:38 -04:00
Chris Jones f908031eee 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
Ben Turner 3f30138000 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 cb55b88cd7 Backed out changeset 0ed675647700 for failing tests 2010-04-07 15:01:23 -07:00
Ben Turner d8be84b7c8 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 4d70fc2a43 Test plugin should always draw with Core Text on Mac OS X. b=557521 r=bgirard 2010-04-07 15:31:31 -04:00
Josh Aas 9b6a443446 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 39991bbc03 test bug 539897 r=jimm 2010-03-26 14:49:46 +13:00
Chris Jones 155f899de8 Backing out bug 550026 due to orange 2010-03-11 05:07:20 -06:00
Chris Jones 06df096044 test for bug 550026 r=karlt+cjones 2010-03-08 09:17:57 +13:00
Benjamin Smedberg ce2cea7caa Test for bug 550944 - When a stream is alive when a plugin instance is destroyed, NPP_DestroyStream and NPP_URLNotify are never called 2010-03-08 12:16:35 -05:00
Benjamin Smedberg e67276613f 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 2010-02-23 21:58:27 -05:00
Steven Michaud d3b28f393c Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Benjamin Smedberg dfda838312 Merge backout of bug 548217 because of topcrash bug 549112 2010-02-27 17:40:03 -05:00
Benjamin Smedberg 68a5e7ca2b Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112 2010-02-27 17:36:54 -05:00
Benjamin Smedberg d8254a006a 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 512e1b0f7c Bug 532208: Test for large streams 2010-02-26 13:07:58 -06:00
Benjamin Smedberg cd14d34dbc Merge backout of bug 548217 2010-02-25 03:59:05 -08:00
Benjamin Smedberg cb68a05b3f 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 53014bbe9e 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 2010-02-23 21:58:27 -05:00
Ben Turner e48f725afd Fix #warning, msvc doesn't have that. 2010-02-16 13:04:16 -08:00
Chris Jones e901872b92 Bug 544945: Mochitest of clipboard interaction that forces the plugin subprocess into a nested event loop on gtk2 platforms. r=karlt 2010-02-16 12:44:26 -06:00
Benjamin Smedberg 65655b7cfe 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
Chris Jones e32ba3f5c6 Bug 544345: Mochitest of plugin hangs. r=bsmedberg 2010-02-11 14:32:19 -06:00
Benjamin Smedberg b57767483f Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-03 09:09:16 -05:00
Daniel Holbert f915342d86 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 99e01f98a8 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg 31bb96a56b 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. 2010-01-27 11:31:03 -05:00
Benjamin Smedberg 248c93d114 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. 2010-01-25 17:26:23 -05:00
Jonathan Griffin 8d902b3ff0 Bug 518924. Fix memory leak in NPAPI async callback test and re-enable 2010-01-25 12:20:30 -08:00
Jonathan Griffin b43bd2e379 Bug 518924. Add tests for NPAPI timers and async callbacks. r=bsmedberg 2010-01-22 17:13:26 -08:00