Commit Graph

180 Commits

Author SHA1 Message Date
Benjamin Smedberg
5a7728f990 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
--HG--
extra : rebase_source : e2034212a7cb89aed5f0782c4d412954ea1470a8
2011-02-23 10:47:17 -05:00
Benjamin Smedberg
7c6b002c22 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
1481e5c51f Tests for bug 634534 (destroy a stream while a part-request has been requested but OnStartRequest has not yet fired)
--HG--
extra : rebase_source : b29a496f75aacb57b8b9f285358278380580babd
2011-02-23 10:47:17 -05:00
Chris Jones
d6c74dbcb6 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-16 16:43:31 -06:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Chris Jones
7afc71e9a5 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-08 18:44:14 -06:00
Dan Witte
b39a896a01 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
Jacek Caban
b9153f99b1 Bug 627213 - nptest.rc doesn't compile with windres r=jfkthame a=test-only 2011-01-22 12:58:23 +00:00
Jonathan Kew
ed55ace99d 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
aac95a679d 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
a29aeee94a Bug 475991: Tests for NPAPI redirect handling. r=dwitte a=blocking2.0betaN+ 2011-01-05 14:46:42 -05:00
Robert O'Callahan
37ce525680 Bug 616901. Fix rect in nptest_windows.cpp, to fix misrendering in 580160-1-ref.html. r=bsmedberg a=tests-only 2010-12-10 10:30:50 -08:00
Josh Aas
c04477ac1b 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
3930901751 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
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Benjamin Smedberg
542fdd7b82 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
a95396d2ef 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
c1f3d96e91 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
cfe4308ade 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
Benjamin Smedberg
f8d5bcfbda Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0. 2010-10-28 09:17:35 -04:00
Benjamin Smedberg
175c51b9e9 Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies 2010-10-27 16:56:34 -04:00
Chris Jones
fb1d02f4d7 Test for bug 598862. r=karlt a=blocking 2010-11-08 20:48:59 -06:00
Robert O'Callahan
ede8b01991 Bug 594774. Tests for this bug. r=dbaron a=blocking 2010-09-17 12:09:09 -07:00
Robert O'Callahan
91595e761f Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Benjamin Smedberg
5aea5bb4c0 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
7f603b4ac1 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
Brad Lassey
adeecd8bf0 bug 577347 - testplugin doesn't build for android r=joshmoz 2010-07-09 10:57:10 -07:00
Mats Palmgren
1a73791960 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
timeless@mozdev.org
50835b5fc6 Bug 563200 fix deprecated conversion and comparison between signed and unsigned in testplugin/nptest.cpp. r=jst
--HG--
extra : rebase_source : 79958d664a02ad215198770a0c979b21ba3fca24
2010-05-23 15:32:42 -07:00
Neil Rashbrook
b4742c094a Bug 564068 Test plugin should always use the NPN allocator r=jst 2010-05-11 10:46:38 +01:00
Benjamin Smedberg
795fd0f90e Test for bug 564861 - Make sure that integer identifiers work correctly when running OOPP 2010-05-10 17:11:31 -04:00
Benjamin Smedberg
1f9b4b6218 Test for bug 564607 - Firefox crashes when an OOPP plugin implements NPClass.enumerate 2010-05-10 17:11:14 -04:00
Josh Aas
c36a394282 Sync Mozilla's NPAPI headers to npapi-headers r12. b=563448 sr=jst 2010-05-06 01:13:11 -04:00
Josh Aas
8ecc9116c4 Backed out changeset 955501353745 2010-05-05 15:58:41 -04:00
Josh Aas
6af09c6805 Sync Mozilla's NPAPI headers to npapi-headers r10. b=563448 sr=jst 2010-05-05 15:46:32 -04:00
Dão Gottwald
d31de13158 Backed out changeset 1052ee218ba6 2010-05-02 14:19:54 +02:00
timeless@mozdev.org
001cce67ca 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
bc3ea8f041 Test for bugs 539138 and 561308
--HG--
extra : rebase_source : dc21594a77c8ecb91801cf4bc322491fcf00d8b1
2010-04-29 23:02:52 +12:00
Karl Tomlinson
5dcbbe499b test for bug 540114
--HG--
extra : rebase_source : eea4efe6cd81312c2d7e8894d8662e24868132b8
2010-04-29 09:03:34 +12: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
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
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
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