gecko-dev/layout/generic/crashtests/769303-1.html
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00

34 lines
855 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);
test2 = test1.cloneNode(false);
test3 = test2.cloneNode(false);
document.documentElement.appendChild(test3);
setTimeout("CFcrash()", 21);
}
document.addEventListener("DOMContentLoaded", initCF);
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>