Benjamin Smedberg
8ae80a87d5
Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired). Fixed test_pluginstream_seek_close.html so that the first iframe onload (for about:blank) is not used with the test. a=blocker-test
2011-02-23 10:47:17 -05:00
Benjamin Smedberg
9a70bf53b9
Revert bug 634534 because of test failures (test_visibility.html timing out, and neverending.sjs data leaking into other plugin tests?)
2011-02-23 16:04:35 -05:00
Benjamin Smedberg
fb74bba697
Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired)
2011-02-23 10:47:17 -05:00
Dan Witte
787ac1bb42
Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner
2011-02-08 14:16:07 -08:00
Jonathan Kew
942a7fdbc9
bug 607121 and bug 626180 - add sample non-Latin text to the test plugin description, to verify that we manage encodings properly. r+a=bsmedberg
2011-01-18 18:27:26 +00:00
Josh Aas
ad18755c0f
Bug 625164: Fix bug in which we send the wrong URL to OOP plugins via NPP_URLRedirectNotify. r=dwitte a=blocking2.0betaN+
2011-01-13 17:52:15 -08:00
Josh Aas
c1e2b833f6
Bug 475991: Tests for NPAPI redirect handling. r=dwitte a=blocking2.0betaN+
2011-01-05 14:46:42 -05:00
Josh Aas
9d2845d6cf
Bug 615881: Fix several bugs related to the handling of NPAPI's NPPluginFuncs structure. r=bsmedberg a=blocking2.0final+
2010-12-03 00:20:59 -05:00
Benjamin Smedberg
4da1e00f11
Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
2010-11-17 15:55:25 -05:00
Benjamin Smedberg
792d42b4e7
Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst
2010-11-15 09:41:19 -05:00
Benjamin Smedberg
8eedd0ee97
Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt
2010-11-15 09:41:18 -05:00
Benjamin Smedberg
cb0c6263e3
Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
...
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.
This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2590d104a2
Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt
2010-11-05 10:43:14 -04:00
Chris Jones
9876bf60d5
Test for bug 598862. r=karlt a=blocking
2010-11-08 20:48:59 -06:00
Robert O'Callahan
c4c6998edf
Bug 594774. Tests for this bug. r=dbaron a=blocking
2010-09-17 12:09:09 -07:00
Robert O'Callahan
4fb6e168c1
Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh
2010-08-02 15:07:07 +12:00
Benjamin Smedberg
55645fa8ce
Bug 582012 - register identifiers in the ID maps when they are created by the browser, so that a plugin never sees two identifiers for the same string/integer, r=bent
2010-07-28 13:20:33 -04:00
Robert O'Callahan
be40efddef
Bug 564991. Part 37: Add test plugin API to make the plugin invalidate itself during each paint. r=josh
2010-07-16 09:08:11 +12: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
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
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
Chris Jones
3e4b495b83
test for bug 550026
2010-04-21 15:33:14 +12: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
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
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
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