summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/crashtests/502869-iframe.html
blob: ff76e020bfc8299ab74b91d87e849c589a01620b (plain)
1
2
3
4
5
6
7
8
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].remove();
x[2].remove();
</script>
<div>
<script>document.write('<'+'script>document.removeChild(document.documentElement);<'+'/script>');</script>
</a></body></html>