mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
412f60331c
commit
954618ad23
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user