gecko-dev/layout/generic/crashtests/769303-1.html
L. David Baron 3ad133576f Bug 1123979 - Make the crashtest for bug 769303 more reliable by using reftest-wait correctly. r=mats
Once we do this, we'll be able to get a better sense of how common this
intermittent failure is and where it occurs.
2015-03-20 06:47:28 -07:00

34 lines
869 B
HTML

<html class="reftest-wait">
<style>
p::first-letter {
float: left;
}
p:before {
content: counter(e2);
}
p:not([type=image]) {
float: left;
-moz-appearance: radio;
}
</style>
<p id=test1><script>
function initCF() {
document.removeEventListener("DOMContentLoaded", initCF, false);
test2 = test1.cloneNode(false);
test3 = test2.cloneNode(false);
document.documentElement.appendChild(test3);
setTimeout("CFcrash()", 21);
}
document.addEventListener("DOMContentLoaded", initCF, false);
window.onload = initCF;
var gCallCount = 0;
function CFcrash() {
test3.appendChild(document.createTextNode(" bBCV5.3kvwoaU O8k l i!4c`Ei;N-#/ Qg QBZi$8A [8xlL#cN U4l !%lP S% Z9[H } {2Jk A00F8 TjQQ1KHx zf k]F-G ,%lz8?@ 2ZB!-"));
window.scrollBy(-463, -480);
if (++gCallCount == 2) {
document.documentElement.classList.remove("reftest-wait");
}
}
</script>