gecko/content/base/crashtests/420620-1.html

30 lines
584 B
HTML
Raw Normal View History

2009-08-27 19:48:20 -07:00
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function boom()
{
var a = document.documentElement;
var b = document.body;
document.removeChild(a);
b.contentEditable = "true";
document.appendChild(a);
function t() {
document.removeEventListener("DOMAttrModified", t, false);
document.removeChild(a);
}
document.addEventListener("DOMAttrModified", t, false);
document.execCommand("insertunorderedlist", false, "<h1>");
document.removeEventListener("DOMAttrModified", t, false);
}
</script>
</head>
<body onload="boom()"></body>
</html>