Bug 1362903 - Use reftest-wait to ensure this test finishes. r=smaug

This prevents a subsequent test from being started before this test is finished.

MozReview-Commit-ID: FPgVVMk6qeC

--HG--
extra : rebase_source : 5789af451fe67660f66e8bc0dc0b5dc709918db0
This commit is contained in:
Hiroyuki Ikezoe 2017-06-19 11:34:15 +09:00
parent 412f60331c
commit 954618ad23

View File

@ -1,6 +1,7 @@
<html>
<html class="reftest-wait">
<head>
<script>
function boom() {
o1 = document.createElement("script");
o2 = document.implementation.createDocument('', '', null);
o3 = document.createElement("iframe");
@ -9,6 +10,9 @@
o5 = document.createTextNode('o2.adoptNode(o3); try { o4.location = "" } catch(e) {}');
o1.appendChild(o5);
document.documentElement.appendChild(o1);
document.documentElement.classList.remove("reftest-wait");
}
</script>
</head>
</html>
<body onload="boom();"></body>
</html>