Bug 769303 - crash tests

This commit is contained in:
Abhishek Arya 2013-05-14 10:36:50 +02:00
parent 7c2660682d
commit 39d006f5a4
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<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;
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);
}
</script>

View File

@ -0,0 +1,19 @@
<foo_bar>k煬犍赜I⌕ 鰔{2O`怊턝璆굁肗笑z죒༃陥 P﷨Jf⻃傆$MN M ?鋰 5蟣#糐選^x汵 ァ K 8kmf箏ਰ艼 渺즺</foo_bar><ol id=test1></ol><head>
<style>
body:first-letter {
float: left;
}
body {
float: left;
}
</style>
<body style="white-space: pre-line;"><script>
function initCF() {
document.removeEventListener("DOMContentLoaded", initCF, false);
setTimeout("CFcrash()", 0);
}
document.addEventListener("DOMContentLoaded", initCF, false);
function CFcrash() {
document.adoptNode(test1);
}
</script>

View File

@ -446,6 +446,8 @@ test-pref(layout.css.flexbox.enabled,true) load 737313-3.html
test-pref(font.size.inflation.emPerLine,15) asserts(1-100) load font-inflation-762332.html # bug 762332
load 762902.html
load 762764-1.html
load 769303-1.html
load 769303-2.html
load 786740-1.html
asserts(0-4) test-pref(font.size.inflation.emPerLine,15) load 791601.xhtml # 3 counts of bug 871327, 1 bug 367185
asserts(8) test-pref(layout.css.flexbox.enabled,true) load 798020-1.html