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
Chris Jones
26beeeeb9a
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
6896615af5
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
b077ac0cea
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
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
Jacek Caban
b6f5a2653e
Bug 627213 - nptest.rc doesn't compile with windres r=jfkthame a=test-only
2011-01-22 12:58:23 +00: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
Robert O'Callahan
74838c7eef
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
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
Benjamin Smedberg
8f371ae3e8
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
421d86bb23
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
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
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