gecko-dev/docshell/base/crashtests/1341657.html
Hiroyuki Ikezoe 954618ad23 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
2017-06-19 11:34:15 +09:00

19 lines
688 B
HTML

<html class="reftest-wait">
<head>
<script>
function boom() {
o1 = document.createElement("script");
o2 = document.implementation.createDocument('', '', null);
o3 = document.createElement("iframe");
document.documentElement.appendChild(o3);
o4 = o3.contentWindow;
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>
<body onload="boom();"></body>
</html>