mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 502869 - crash test
This commit is contained in:
parent
2f443314e9
commit
fe3708d920
9
parser/htmlparser/tests/crashtests/502869-iframe.html
Normal file
9
parser/htmlparser/tests/crashtests/502869-iframe.html
Normal file
@ -0,0 +1,9 @@
|
||||
<html><head><title>[HTML5] Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster] with document.write and removing stuff</title></head><body><a>
|
||||
<script>
|
||||
var x=document.getElementsByTagName("*");
|
||||
x[1].parentNode.removeChild(x[1]);
|
||||
x[2].parentNode.removeChild(x[2]);
|
||||
</script>
|
||||
<div>
|
||||
<script>document.write('<'+'script>document.removeChild(document.documentElement);<'+'/script>');</script>
|
||||
</a></body></html>
|
18
parser/htmlparser/tests/crashtests/502869.html
Normal file
18
parser/htmlparser/tests/crashtests/502869.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait"><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 502869</title>
|
||||
<script>
|
||||
function done()
|
||||
{
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="setTimeout(done,1000)">
|
||||
|
||||
<iframe src="502869-iframe.html"></iframe>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -36,6 +36,7 @@ load 423373-1.html
|
||||
load 445171-1.html
|
||||
load 468538-1.xhtml
|
||||
load 502103.html
|
||||
load 502869.html
|
||||
load 515278-1.html
|
||||
load 515533-1.html
|
||||
load 515816-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user