зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1687239 part 1 - Remove plugin tests from layout/, dom/ and accessible/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D102139
This commit is contained in:
Родитель
b74a3bb722
Коммит
334efb391e
|
@ -459,10 +459,7 @@
|
|||
testElm("em_container", obj);
|
||||
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// HTML:embed (windowless/windowed plugins and media)
|
||||
|
||||
ok(!isAccessible("embed_plugin_windowless"), "(blocked) windowless plugin embed element is not accessible");
|
||||
ok(!isAccessible("embed_plugin_windowed"), "(blocked) windowed plugin embed element is not accessible");
|
||||
// HTML:embed
|
||||
|
||||
obj = {
|
||||
role: ROLE_GRAPHIC,
|
||||
|
@ -1119,10 +1116,7 @@
|
|||
testElm("nav", obj);
|
||||
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// HTML:object (windowless/windowed plugins and media) and HTML:param
|
||||
|
||||
ok(!isAccessible("object_plugin_windowless"), "(blocked) windowless plugin object element is not accessible");
|
||||
ok(!isAccessible("object_plugin_windowed"), "(blocked) windowed plugin object element is not accessible");
|
||||
// HTML:object and HTML:param
|
||||
|
||||
obj = {
|
||||
role: ROLE_GRAPHIC,
|
||||
|
@ -1594,11 +1588,6 @@
|
|||
|
||||
<p id="em_container">normal<em>emphasis</em></p>
|
||||
|
||||
<embed id="embed_plugin_windowless" type="application/x-test"
|
||||
width="300" height="300"></embed>
|
||||
<embed id="embed_plugin_windowed" type="application/x-test" wmode="window"
|
||||
width="300" height="300"></embed>
|
||||
|
||||
<embed id="embed_png" type="image/png" src="../moz.png"
|
||||
width="300" height="300">
|
||||
</embed>
|
||||
|
@ -1891,13 +1880,6 @@
|
|||
</ul>
|
||||
</nav>
|
||||
|
||||
<object id="object_plugin_windowless" type="application/x-test"
|
||||
width="300" height="300">
|
||||
<param name="foo" value="bar">
|
||||
</object>
|
||||
<object id="object_plugin_windowed" type="application/x-test" wmode="window"
|
||||
width="300" height="300"></object>
|
||||
|
||||
<object id="object_png" type="image/png" data="../moz.png"
|
||||
width="300" height="300">
|
||||
</object>
|
||||
|
|
|
@ -503,7 +503,6 @@ skip-if = sessionHistoryInParent
|
|||
[test_named_options.html]
|
||||
[test_nested_invalid_fieldsets.html]
|
||||
[test_object_attributes_reflection.html]
|
||||
[test_object_nav.html]
|
||||
[test_ol_attributes_reflection.html]
|
||||
[test_option_defaultSelected.html]
|
||||
[test_option_selected_state.html]
|
||||
|
|
|
@ -1,97 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=720130
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Bug 720130</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=720130">Mozilla Bug 720130</a>
|
||||
<p id="display"></p>
|
||||
<div id="content">
|
||||
<input>
|
||||
<object data="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVRYhe3SIQ4AIBADwf7/04elBAtrVlSduGnSTDJ7cuT1PQJwwO+Hl7sAGAA07gjAAfgIBeAAoHFHAA7ARygABwCNOwJwAD5CATRgAYXh+kypw86nAAAAAElFTkSuQmCC"></object>
|
||||
<button>foo</button>
|
||||
<object type="application/x-shockwave-flash"></object>
|
||||
<object tabindex='0' type="application/x-shockwave-flash"></object>
|
||||
<object data="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVRYhe3SIQ4AIBADwf7/04elBAtrVlSduGnSTDJ7cuT1PQJwwO+Hl7sAGAA07gjAAfgIBeAAoHFHAA7ARygABwCNOwJwAD5CATRgAYXh+kypw86nAAAAAElFTkSuQmCC"></object>
|
||||
<object tabindex='0' data="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVRYhe3SIQ4AIBADwf7/04elBAtrVlSduGnSTDJ7cuT1PQJwwO+Hl7sAGAA07gjAAfgIBeAAoHFHAA7ARygABwCNOwJwAD5CATRgAYXh+kypw86nAAAAAElFTkSuQmCC"></object>
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 720130 **/
|
||||
|
||||
var gFocusCount = 0;
|
||||
var gFocusNb = 4;
|
||||
|
||||
/**
|
||||
* Check the focus navigation.
|
||||
*/
|
||||
function checkFocus() {
|
||||
switch (gFocusCount) {
|
||||
case 0:
|
||||
is(document.activeElement, document.getElementsByTagName('a')[0],
|
||||
"first focused element should be the link");
|
||||
break;
|
||||
case 1:
|
||||
is(document.activeElement, document.getElementsByTagName('input')[0],
|
||||
"second focused element should be the text field");
|
||||
break;
|
||||
case 2:
|
||||
is(document.activeElement, document.getElementsByTagName('button')[0],
|
||||
"third focused element should be the button");
|
||||
break;
|
||||
case 3:
|
||||
ok(document.activeElement != document.getElementsByTagName('object')[1],
|
||||
"fourth focused element should not be the plugin object");
|
||||
ok(document.activeElement != document.getElementsByTagName('object')[2],
|
||||
"fourth focused element should not be the plugin object with tabindex");
|
||||
ok(document.activeElement != document.getElementsByTagName('object')[3],
|
||||
"fourth focused element should not be the image object without tabindex");
|
||||
is(document.activeElement, document.getElementsByTagName('object')[4],
|
||||
"fourth focused element should be the image object with tabindex");
|
||||
break;
|
||||
}
|
||||
|
||||
gFocusCount++;
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function doTest() {
|
||||
is(document.activeElement, document.body);
|
||||
|
||||
// Preliminary check: tabindex should be 0 on the object.
|
||||
is(document.getElementsByTagName('object')[0].tabIndex, 0,
|
||||
"the element shouldn't get focus while navigating in the document");
|
||||
|
||||
document.addEventListener("focus", function() {
|
||||
checkFocus();
|
||||
|
||||
if (gFocusCount != gFocusNb) {
|
||||
synthesizeKey("KEY_Tab");
|
||||
return;
|
||||
}
|
||||
|
||||
document.removeEventListener("focus", arguments.callee, true);
|
||||
SimpleTest.finish();
|
||||
}, true);
|
||||
|
||||
synthesizeKey("KEY_Tab");
|
||||
}
|
||||
|
||||
SimpleTest.waitForFocus(function () {
|
||||
// Set the focus model so that links are focusable by the tab key even on Mac
|
||||
SpecialPowers.pushPrefEnv({'set': [['accessibility.tabfocus', 7]]}, doTest);
|
||||
});
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -1,6 +1,5 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
plugin.load_flash_only=false
|
||||
formhelper.autozoom.force-disable.test-only=true
|
||||
support-files =
|
||||
Ahem.ttf
|
||||
|
@ -150,8 +149,6 @@ support-files = file_dynamic_toolbar_max_height.html
|
|||
[test_emulate_color_scheme.html]
|
||||
[test_event_target_radius.html]
|
||||
skip-if = xorigin # JavaScript error: resource://specialpowers/SpecialPowersChild.jsm, line 73: SecurityError: Permission denied to access property "windowUtils" on cross-origin object
|
||||
[test_flush_on_paint.html]
|
||||
skip-if = true # Bug 688128
|
||||
[test_frame_reconstruction_for_column_span.html]
|
||||
[test_frame_reconstruction_for_pseudo_elements.html]
|
||||
[test_frame_reconstruction_for_svg_transforms.html]
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test that we flush before painting</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body onload="doIteration()">
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
</div>
|
||||
<embed type="application/x-test" id="plugin" drawmode="solid" style="width:200px; height:200px;"></embed>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.requestFlakyTimeout("This test deals with painting and invalidation. " +
|
||||
"Those are tricky to detect, so we have to poll here, which means that we have to rely on flaky timeouts. " +
|
||||
"This special case is safe because we're only polling for events.");
|
||||
|
||||
var iterations = 0;
|
||||
var plugin = document.getElementById("plugin");
|
||||
var lastPaintCount;
|
||||
var expectedWidth;
|
||||
var utils = SpecialPowers.DOMWindowUtils;
|
||||
|
||||
var toggle = true;
|
||||
function invalidationLoop() {
|
||||
toggle = !toggle;
|
||||
var color = toggle ? "8F" : "00";
|
||||
plugin.setColor("FFFFFF" + color);
|
||||
setTimeout(invalidationLoop, 20);
|
||||
}
|
||||
invalidationLoop();
|
||||
|
||||
function doIteration() {
|
||||
lastPaintCount = utils.paintCount;
|
||||
ok(true, "Beginning iteration " + iterations + ", last paint count: " + lastPaintCount);
|
||||
|
||||
expectedWidth = 201 + iterations;
|
||||
plugin.style.width = expectedWidth + "px";
|
||||
checkDone();
|
||||
}
|
||||
|
||||
function checkDone() {
|
||||
ok(true, "Check to see if we're done: " + utils.paintCount);
|
||||
if (utils.paintCount == lastPaintCount) {
|
||||
setTimeout(checkDone, 30);
|
||||
return;
|
||||
}
|
||||
|
||||
is(plugin.getWidthAtLastPaint(), utils.screenPixelsPerCSSPixel*expectedWidth,
|
||||
"Check that we set width before painting");
|
||||
|
||||
++iterations;
|
||||
if (iterations < 100) {
|
||||
doIteration();
|
||||
} else {
|
||||
SimpleTest.finish();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body onload="document.getElementById('x').style.visibility = 'hidden';">
|
||||
<embed id="x" type="application/x-test" wmode="window"></embed>
|
||||
</body>
|
||||
</html>
|
|
@ -1,24 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
function boom()
|
||||
{
|
||||
var sel = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
|
||||
var opt;
|
||||
for (var i = 0; i < 43; ++i) {
|
||||
opt = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
|
||||
opt.appendChild(document.createTextNode(i));
|
||||
sel.appendChild(opt);
|
||||
}
|
||||
opt.selected = "selected";
|
||||
document.getElementById("div").appendChild(sel);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><div id="div"></div><embed type="application/x-test"></embed></body>
|
||||
</html>
|
|
@ -363,12 +363,10 @@ load 499862-1.html
|
|||
load 501535-1.html
|
||||
load 503961-1.xhtml
|
||||
load 503961-2.html
|
||||
load 505912-1.html
|
||||
load 507566.html
|
||||
load 508154-1.xhtml
|
||||
load 508168-1.html
|
||||
load chrome://reftest/content/crashtests/layout/generic/crashtests/508816-1.xhtml
|
||||
load 508908-1.html
|
||||
load 509749-1.html
|
||||
load 511482.html
|
||||
load 512724-1.html
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
plugin.load_flash_only=false
|
||||
gfx.font_loader.delay=0
|
||||
skip-if = toolkit == 'android' #CRASH_DUMP, RANDOM, ONLY IN CHUNK 10
|
||||
support-files =
|
||||
|
@ -102,8 +101,6 @@ support-files = file_bug1566783.html
|
|||
[test_bug1623764.html]
|
||||
[test_bug1642588.html]
|
||||
[test_bug1644511.html]
|
||||
[test_contained_plugin_transplant.html]
|
||||
skip-if = os=='win'
|
||||
[test_crash_on_mouse_move.html]
|
||||
[test_dynamic_reflow_root_disallowal.html]
|
||||
[test_flex_interrupt.html]
|
||||
|
@ -120,8 +117,6 @@ skip-if = (toolkit == "gtk") || (os == "win")
|
|||
[test_overflow_event.html]
|
||||
[test_page_scroll_with_fixed_pos.html]
|
||||
support-files = page_scroll_with_fixed_pos_window.html
|
||||
[test_plugin_position.xhtml]
|
||||
skip-if = e10s
|
||||
[test_scroll_behavior.html]
|
||||
[test_scrollframe_abspos_interrupt.html]
|
||||
[test_selection_doubleclick.html]
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=775965
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Bug 775965</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body onload="run();">
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=775965">Mozilla Bug 775965</a>
|
||||
<p id="display"></p>
|
||||
<div id="content">
|
||||
|
||||
<iframe id="iframe1" src="data:text/html,<embed type='application/x-test' width='200' height='200'></embed>"></iframe>
|
||||
<iframe id="iframe2"></iframe>
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 775965 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function run() {
|
||||
var iframe1 = document.getElementById("iframe1");
|
||||
var iframe2 = document.getElementById("iframe2");
|
||||
iframe1.remove();
|
||||
iframe1.style.position = "fixed";
|
||||
iframe2.contentDocument.body.appendChild(iframe1);
|
||||
setTimeout(function() { ok(true, "We didn't crash!"); SimpleTest.finish(); }, 0);
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -1,82 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" title="Test Plugin Positioning">
|
||||
<head>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Use a XUL element here so we can get its screenX/Y -->
|
||||
<hbox style="height:10px; position:absolute; left:0; top:0; z-index:-100;" id="h1"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<hbox style="width:100px;"></hbox><hbox id="h2"/>
|
||||
</hbox>
|
||||
|
||||
<embed id="p" type="application/x-test" width="200" height="200" wmode="window"></embed>
|
||||
<embed id="p2" type="application/x-test" wmode="window"
|
||||
style="outline:5px solid blue; width:200px; height:200px;
|
||||
border:solid black; border-width:4px 8px 4px 8px;
|
||||
padding:3px 1px;">
|
||||
</embed>
|
||||
|
||||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
var windowFrameX, windowFrameY;
|
||||
|
||||
function checkGeometry(id, x, y, w, h) {
|
||||
var p = document.getElementById(id);
|
||||
var bounds = p.getBoundingClientRect();
|
||||
var pX = p.getEdge(0);
|
||||
var pY = p.getEdge(1);
|
||||
var pWidth = p.getEdge(2) - pX;
|
||||
var pHeight = p.getEdge(3) - pY;
|
||||
|
||||
is(pX, windowFrameX + bounds.left + x, id + " plugin X");
|
||||
is(pY, windowFrameY + bounds.top + y, id + " plugin Y");
|
||||
is(pWidth, w, id + " plugin width");
|
||||
is(pHeight, h, id + " plugin height");
|
||||
}
|
||||
|
||||
function runTests() {
|
||||
var h1 = document.getElementById("h1");
|
||||
var h2 = document.getElementById("h2");
|
||||
var hwidth = h2.screenX - h1.screenX;
|
||||
if (hwidth != 100) {
|
||||
// Maybe it's a DPI issue
|
||||
todo(false, "Unexpected DPI?");
|
||||
SimpleTest.finish();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!document.getElementById("p").identifierToStringTest) {
|
||||
todo(false, "Test plugin not available");
|
||||
SimpleTest.finish();
|
||||
return;
|
||||
}
|
||||
|
||||
var bounds = h1.getBoundingClientRect();
|
||||
windowFrameX = h1.screenX - bounds.left - window.screenX;
|
||||
windowFrameY = h1.screenY - bounds.top - window.screenY;
|
||||
|
||||
checkGeometry("p", 0, 0, 200, 200);
|
||||
// This one tests widget positioning in the presence of borders and padding
|
||||
checkGeometry("p2", 9, 7, 182, 186);
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
// When load events run, painting may still be suppressed for the window.
|
||||
// While painting is suppressed, plugins are hidden so won't be positioned
|
||||
// or sized as expected.
|
||||
// So call runTests after the load event has finished, when painting will
|
||||
// be unsuppressed.
|
||||
addLoadEvent(function() { setTimeout(runTests, 1000); });
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.requestFlakyTimeout("untriaged");
|
||||
|
||||
]]>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +0,0 @@
|
|||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<menulist>
|
||||
<menupopup>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</window>
|
|
@ -1,12 +0,0 @@
|
|||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload="setTimeout(function() { forceLoadPlugin('plugin'); }, 0)"
|
||||
class="reftest-wait">
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
<menulist>
|
||||
<menupopup>
|
||||
<html:embed type="application/x-test" id="plugin"></html:embed>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</window>
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait" style="overflow:hidden">
|
||||
<head>
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
</head>
|
||||
<body onload="forceLoadPlugin('p')">
|
||||
<object style="position:absolute; width:100%; height:100%; left:0; top:0;"
|
||||
type="application/x-test" id="p"></object>
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
</head>
|
||||
<body onload="forceLoadPlugin('p', function() {
|
||||
var p = document.getElementById('p');
|
||||
p.focus();
|
||||
document.documentElement.removeAttribute('class');
|
||||
})">
|
||||
<object style="position:absolute; width:100%; height:100%; left:0; top:0;"
|
||||
type="application/x-test" id="p"></object>
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<div style="width:200px; border:2px solid black; overflow:hidden;">
|
||||
<embed style="padding-left:1px;" type="application/x-test"></embed>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<div style="width:200px; border:2px solid black; overflow:hidden;">
|
||||
<embed style="padding-left:0.5px;" type="application/x-test"></embed>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
<body onload="forceLoadPlugin('p')">
|
||||
<embed style="-moz-transform:scaleY(-1)" type="application/x-test" drawmode="solid" color="FF00FF00" width="200" height="200" id="p"></embed>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
</head>
|
||||
<body onLoad="forceLoadPlugin('p', true)">
|
||||
<embed type="application/x-test" id="p"
|
||||
style="width:200px; height:400px;"></embed>
|
||||
<script>
|
||||
var p = document.getElementById("p");
|
||||
function doTest() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
</head>
|
||||
<body onLoad="forceLoadPlugin('p', true)">
|
||||
<embed type="application/x-test" id="p"
|
||||
style="position:fixed; width:200px; height:200px;"></embed>
|
||||
<script>
|
||||
var p = document.getElementById("p");
|
||||
function doTest() {
|
||||
p.style.height = "400px";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +0,0 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
</head>
|
||||
<body>
|
||||
<div style="background-color: #00FF00; width: 200px; height: 100px;"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +0,0 @@
|
|||
<!doctype html>
|
||||
<html><head>
|
||||
</head>
|
||||
<body>
|
||||
<object width="200" height="100" data="data:application/x-test,0" drawmode="solid" color="ff00ff00"></object>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<div style="width:400px; height:200px; background:red;"></div>
|
||||
<div style="background:rgba(255,255,255,0.8); width:200px; position:relative; top:-200px; font-size:50px;">
|
||||
Hello
|
||||
</div>
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script src="forceloadplugin.js">
|
||||
</script>
|
||||
</head>
|
||||
<body onLoad="forceLoadPlugin('p')">
|
||||
<embed type="application/x-test" drawmode="solid" color="#FFFF0000" style="width:400px; height:200px; display:block" id="p"></embed>
|
||||
<div style="background:rgba(255,255,255,0.8); width:200px; position:relative; top:-200px; font-size:50px;">
|
||||
Hello
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1377,7 +1377,6 @@ fuzzy-if(Android,0-5,0-2800) == 506481-1.html 506481-1-ref.html
|
|||
== 507762-3.html 507762-1-ref.html
|
||||
== 507762-4.html 507762-2-ref.html
|
||||
pref(layout.css.xul-box-display-values.content.enabled,true) == 508816-2.html 508816-2-ref.html
|
||||
== chrome://reftest/content/bugs/508908-1.xhtml chrome://reftest/content/bugs/508908-1-ref.xhtml
|
||||
== 508919-1.xhtml 508919-1-ref.xhtml
|
||||
== 509155-1.xhtml 509155-1-ref.xhtml
|
||||
fuzzy-if(Android,0-5,0-1656) fuzzy-if(skiaContent,0-1,0-1200) == 512410.html 512410-ref.html
|
||||
|
@ -1439,7 +1438,6 @@ random == 536061.html 536061-ref.html # fixedpoint division in blur code makes t
|
|||
== 539880-1-dynamic.html 539880-1-ref.html
|
||||
fuzzy-if(Android,0-12,0-1000) == 539949-1.html#test2 539949-1-ref.html#test2
|
||||
== 541382-1.html 541382-1-ref.html
|
||||
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)||!haveTestPlugin) HTTP == 541406-1.html 541406-1-ref.html # Bug 1392106
|
||||
needs-focus != 542116-1.html 542116-1-ref.html
|
||||
needs-focus != 542116-2.html 542116-2-ref.html
|
||||
needs-focus != 542116-3.html 542116-3-ref.html
|
||||
|
@ -1447,7 +1445,6 @@ needs-focus != 542116-3.html 542116-3-ref.html
|
|||
== 542620-1.html 542620-1-ref.html
|
||||
== 545049-1.html 545049-1-ref.html
|
||||
== 546033-1.html 546033-1-ref.html
|
||||
random-if(!haveTestPlugin) HTTP == 546071-1.html 546071-1-ref.html
|
||||
== 549184-1.html 549184-1-ref.html
|
||||
== 550325-1.html 550325-1-ref.html
|
||||
== 550325-2.html 550325-1-ref.html
|
||||
|
@ -1532,9 +1529,7 @@ random-if(!winWidget) fails-if(winWidget&&!dwrite) random-if(winWidget&&dwrite)
|
|||
pref(layout.css.xul-box-display-values.content.enabled,true) == 579323-1.html 579323-1-ref.html
|
||||
== 579349-1.html 579349-1-ref.html
|
||||
== 579655-1.html 579655-1-ref.html
|
||||
skip-if(!haveTestPlugin) fails-if(Android) HTTP == 579808-1.html 579808-1-ref.html
|
||||
fails-if(Android) random-if(layersGPUAccelerated) fuzzy-if(skiaContent,0-1,0-10000) == 579985-1.html 579985-1-ref.html # this bug was only for a regression in BasicLayers anyway
|
||||
== 580160-1.html 580160-1-ref.html
|
||||
fuzzy-if(asyncPan&&!layersGPUAccelerated,0-255,0-141) == 580863-1.html 580863-1-ref.html
|
||||
fails-if(Android) random-if(layersGPUAccelerated) fuzzy-if(skiaContent,0-1,0-6436) == 581317-1.html 581317-1-ref.html
|
||||
== 581579-1.html 581579-1-ref.html
|
||||
|
@ -1562,7 +1557,6 @@ pref(dom.meta-viewport.enabled,true) == 593243-2.html 593243-2-ref.html
|
|||
fuzzy-if(skiaContent,0-1,0-80) fuzzy-if(webrender,0-1,0-100) == 597721-1.html 597721-1-ref.html
|
||||
random-if(winWidget) fuzzy-if(Android,0-38,0-539) fuzzy-if(skiaContent,0-1,0-480) needs-focus == 598726-1.html 598726-1-ref.html # Fails on Windows, bug 782196
|
||||
== 599113-1.html 599113-1-ref.html
|
||||
fails-if(!haveTestPlugin) HTTP == 599476.html 599476-ref.html
|
||||
== 599882-1a.html 599882-1-ref.html
|
||||
== 599882-1b.html 599882-1-ref.html
|
||||
== 599882-2.html 599882-2-ref.html
|
||||
|
@ -1617,7 +1611,6 @@ fuzzy-if(Android,0-8,0-300) fuzzy-if(skiaContent,0-1,0-40000) == 625409-1.html 6
|
|||
== 627393-1.html about:blank
|
||||
fuzzy-if(skiaContent,0-1,0-500) == 630835-1.html about:blank
|
||||
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 631352-1.html 631352-1-ref.html # bug 1392106
|
||||
skip-if(!haveTestPlugin) fails-if(Android) fails-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)&&webrender&&isDebugBuild) fuzzy-if(winWidget&&!layersGPUAccelerated,0-102,0-535) fuzzy-if(skiaContent&&!Android,0-102,0-11000) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) HTTP == 632423-1.html 632423-1-ref.html # Bug 1392106
|
||||
random-if(winWidget||OSX==1010) == 632781-verybig.html 632781-ref.html
|
||||
== 632781-normalsize.html 632781-ref.html
|
||||
fuzzy-if(d2d&&/^Windows\x20NT\x206\.2/.test(http.oscpu),0-1,0-559) fuzzy-if(!isDebugBuild&>kWidget&&/^Linux\x20i686/.test(http.oscpu),0-102,0-140) == 633344-1.html 633344-1-ref.html # bug 1103623, Linux32 from GCC update
|
||||
|
|
Загрузка…
Ссылка в новой задаче