mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 828903 - crashtest.
This commit is contained in:
parent
5eaccf796f
commit
c6fbff875f
46
content/base/crashtests/828903-iframe.html
Normal file
46
content/base/crashtests/828903-iframe.html
Normal file
@ -0,0 +1,46 @@
|
||||
<html>
|
||||
<script>
|
||||
function start() {
|
||||
try{o33=document.documentElement;}catch(e){}
|
||||
try{o1.appendChild;}catch(e){}
|
||||
try{tmp = document.createElement('iframe');}catch(e){}
|
||||
try{tmp.id = 'id36'}catch(e){}
|
||||
try{o33.ownerDocument.documentElement.appendChild(tmp);}catch(e){}
|
||||
try{o51=o33.ownerDocument.getElementById('id36').contentDocument;}catch(e){}
|
||||
try{o579=document.documentElement;}catch(e){}
|
||||
try{tmp.id = 'id421'}catch(e){}
|
||||
try{o619=document.getElementById('id421').contentDocument;}catch(e){}
|
||||
try{o622=window.document.getElementById('id421').contentWindow.document;}catch(e){}
|
||||
try{o875.setAttributeNS(null,'letter-spacing','normal');}catch(e){}
|
||||
try{o884=document.createElementNS('http://www.w3.org/2000/svg','set');;}catch(e){}
|
||||
try{o887=document.createElementNS('http://www.w3.org/2000/svg','desc');;}catch(e){}
|
||||
try{o884.appendChild(o887);}catch(e){}
|
||||
try{o887=document.documentElement;}catch(e){}
|
||||
try{o1041=o622.createElement('bdi');;}catch(e){}
|
||||
window.setTimeout('start2()',100);
|
||||
}
|
||||
function start2() {
|
||||
try{o1042=document.createElement('input');;}catch(e){}
|
||||
try{o1043=o51.createElement('input');;}catch(e){}
|
||||
try{o884.appendChild(o1043);}catch(e){}
|
||||
try{o1053=o1043.previousElementSibling;}catch(e){}
|
||||
try{o1067=o619.createElement('blockquote');;}catch(e){}
|
||||
try{o1062.appendChild(o1067);}catch(e){}
|
||||
try{o1074=o619.createElement('ruby');;}catch(e){}
|
||||
try{o1067.appendChild(o1074);}catch(e){}
|
||||
try{document.body.appendChild(o1041);}catch(e){}
|
||||
try{o1041.appendChild(o1042);}catch(e){}
|
||||
try{o1095=o51.createTextNode(unescape('%uff0f%u017f%u0390%ufffa%u2073%uff4d%uDF53%u0261'));;}catch(e){}
|
||||
try{o1053.appendChild(o1095);}catch(e){}
|
||||
try{o1041.appendChild(o1043.parentNode);}catch(e){}
|
||||
try{o1042.appendChild(o1067);}catch(e){}
|
||||
try{o1053=null;}catch(e){}
|
||||
try{o1095=null;}catch(e){}
|
||||
try{for(var xrn in o884.childNodes) o884.removeChild(o884.childNodes[xrn]);}catch(e){}
|
||||
//fuzzer.gc();
|
||||
location.reload();
|
||||
}
|
||||
</script>
|
||||
<body onload="start()">
|
||||
</body>
|
||||
</html>
|
28
content/base/crashtests/828903.html
Normal file
28
content/base/crashtests/828903.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait"><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 828903</title>
|
||||
<script>
|
||||
function reload() {
|
||||
this.location.reload();
|
||||
}
|
||||
// Run the test for 2 seconds
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeChild(document.body);
|
||||
document.documentElement.className = "";
|
||||
}, 2000);
|
||||
</script>
|
||||
</head>
|
||||
<body onload="document.body.getBoundingClientRect()">
|
||||
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1113)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1233)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1313)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1433)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1113)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1233)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1313)" src="828903-iframe.html"></iframe>
|
||||
<iframe onload="this.contentWindow.setTimeout(reload,1433)" src="828903-iframe.html"></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -128,6 +128,7 @@ load 822723.html
|
||||
load 824719.html
|
||||
load 827190.html
|
||||
load 828054.html
|
||||
load 828903.html
|
||||
load 829428.html
|
||||
load 830098.html
|
||||
load 831287.html
|
||||
|
Loading…
Reference in New Issue
Block a user