gecko/editor/libeditor/html/crashtests/513375-1.xhtml

20 lines
381 B
HTML
Raw Normal View History

<html xmlns="http://www.w3.org/1999/xhtml">
<head contenteditable="true">
<script type="text/javascript">
<![CDATA[
function boom()
{
var r = document.createRange();
r.selectNode(document.body);
r.deleteContents();
try { document.execCommand("selectAll", false, null); } catch(e) { }
}
]]>
</script>
</head>
<body onload="boom();" contenteditable="true"></body>
</html>