Commit Graph

334 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
38233803ac Some tests for bug 626602. a=b landing on a CLOSED TREE 2011-02-16 16:43:31 -06: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
Josh Aas
2c810200dc Bug 633667: Per the spec, return NPRES_USER_BREAK when a plugin rejects an HTTP redirect, not NPRES_NETWORK_ERR. r=bsmedberg a=blocking2.0final+ 2011-02-14 11:50:27 -05:00
Serge Gautherie
0ffdacd2b5 Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Bv1) s/ok(true/todo(false/ when test plugin is not OOP.
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01:00
Serge Gautherie
bf75a4b767 Bug 604129 - [SeaMonkey] mochitest-chrome: "TEST-UNEXPECTED-FAIL / test_crash_submit.xul / EventUtils.js, line 60: aTarget is null"; (Av1a) Skip this test on Seamonkey ftb.
r=joshmoz (a=test-only).
2011-02-11 17:26:07 +01: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
2fcedbe49b Some tests for bug 626602. a=b 2011-02-08 18:44:14 -06: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
Phil Ringnalda
1ec51f4445 Bug 629430 - annotate border-padding-1 through -3 as random on Win7, since they have been since the January driver update, a=rhymes-with-orange 2011-02-05 15:42:35 -08:00
Phil Ringnalda
b19048a64e Bug 631832 - mark windowless-clipping-1.html as random on Win7, since the January driver update made it so, a=slow-moving-bustage
--HG--
extra : rebase_source : 0ba6333ffa715bfcfb939f7fec3720f50edf07c8
2011-02-05 13:06:01 -08:00
Phil Ringnalda
34e8f9aa24 Bug 520436 - re-enable reftest that was temporarily commented out in 2009, a=ha
--HG--
extra : rebase_source : f951283378d0bab180c7cea472dc8fc4f780c87a
2011-02-05 13:05:57 -08:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Robert O'Callahan
b4d3c9dfc6 Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-24 17:16:39 -05:00
Ehsan Akhgari
7fa15139c1 Backed out changeset afe951130c65 because of test failure 2011-01-24 00:10:02 -05:00
Robert O'Callahan
2a0a7fad75 Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-23 23:27:18 -05: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
Phil Ringnalda
a23587b471 Bug 620991 - disable test_visibility.html on Windows, in hopes that it will stop the apparent test_windowed_invalidate.html errors after shutdown, and stop letting a potentially unrelated leak sneak in under cover of those errors, a=test 2011-01-18 20:45:57 -08: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
Robert O'Callahan
84866f15c4 Bug 601064. Fix tests (and test this bug). a=tests 2011-01-04 16:56:09 +13:00
Phil Ringnalda
29b4aeecce Disable test_xulbrowser_plugin_visibility.xul on Windows. (Bug 625651) r=roc a=tests 2011-01-14 16:42:49 -08:00
Ted Mielczarek
01276d8831 bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05: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
Rob Campbell
f22fbb6193 Bug 475991 - Extend the NPAPI to allow plugins to participate in redirects - fix line endings; r=rcampbell, a=test-fix; DONTBUILD 2010-12-23 12:30:44 -04: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
Mounir Lamouri
829dd41312 Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Steven Michaud
a1ca2869fa Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg
217e5c109d Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg
738a37d48b Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -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
Karl Tomlinson
e378df1b89 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01: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
bf439a6ea1 Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52. 2010-11-10 08:35:46 -05:00
Benjamin Smedberg
316a7c0dee Address review comments for the test in bug 583109 by polling for visibility changes in the plugins. 2010-11-09 11:41:59 -05:00
Benjamin Smedberg
a028dfd6da Bug 607958 - Opacity rounding of 0.5 is different when using a layer and painting directly. Use a value of 0.8 which divides evenly into 255 to avoid rounding differences. Bug 602200 did not fix this rounding difference. r=roc 2010-11-08 14:40:11 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Benjamin Smedberg
d19fb0dfce With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it. 2010-11-05 10:52:41 -04: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
b5700735c7 Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly. 2010-10-28 12:57:33 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -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