Bug 1363428 - Use reftest wait for MathML tests that do click onload, r=ato
MozReview-Commit-ID: CYI4y3B4yNm
deleted file mode 100644
--- a/testing/web-platform/meta/mathml/relations/html5-tree/href-click-1.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[href-click-1.html]
- type: reftest
- expected:
- if not debug and not stylo and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): PASS
- if not debug and stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if debug and stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/mathml/relations/html5-tree/href-click-2.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[href-click-2.html]
- type: reftest
- expected:
- if not debug and not stylo and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "win") and (version == "10.0.15063") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): PASS
- if not debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): PASS
- if not debug and stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if debug and not stylo and not e10s and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): PASS
- if debug and stylo and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if debug and stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- if not debug and not stylo and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): PASS
- FAIL
--- a/testing/web-platform/tests/mathml/relations/html5-tree/href-click-1.html
+++ b/testing/web-platform/tests/mathml/relations/html5-tree/href-click-1.html
@@ -1,21 +1,22 @@
<!DOCTYPE html>
-<html>
+<html class="reftest-wait">
<head>
<meta charset="utf-8"/>
<title>href click</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
<link rel="match" href="href-click-1-ref.html"/>
<meta name="assert" content="Verify that a click on a link moves to the target.">
<script type="text/javascript">
function test()
{
var event = new MouseEvent('click', {bubbles: true, cancelable: true});
document.getElementById('link').dispatchEvent(event);
+ document.documentElement.className = "";
}
</script>
</head>
<body onload="test()">
<p>This test passes if you see a green square.</p>
<div style="width: 150px; height: 150px; overflow: hidden">
--- a/testing/web-platform/tests/mathml/relations/html5-tree/href-click-2.html
+++ b/testing/web-platform/tests/mathml/relations/html5-tree/href-click-2.html
@@ -1,21 +1,22 @@
<!DOCTYPE html>
-<html>
+<html class="reftest-wait">
<head>
<meta charset="utf-8"/>
<title>href click</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
<link rel="match" href="href-click-2-ref.html"/>
<meta name="assert" content="Verify that a click on an element bubbles to an ancestor link.">
<script type="text/javascript">
function test()
{
var event = new MouseEvent('click', {bubbles: true, cancelable: true});
document.getElementById('space').dispatchEvent(event);
+ document.documentElement.className = "";
}
</script>
</head>
<body onload="test()">
<p>This test passes if you see a green square.</p>
<div style="width: 150px; height: 150px; overflow: hidden">