gecko/editor/libeditor/html/crashtests/612565-1.html
2010-11-16 15:43:46 -05:00

18 lines
390 B
HTML

<!DOCTYPE html>
<html>
<body>
<iframe></iframe>
</body>
<script>
onload = function() {
var i = document.querySelector("iframe");
var doc = i.contentDocument;
doc.body.appendChild(doc.createTextNode("foo"));
doc.designMode = "on";
while (doc.body.firstChild) {
doc.body.removeChild(doc.body.firstChild);
}
};
</script>
</html>