gecko-dev/editor/libeditor/html/crashtests/513375-1.xhtml
Jesse Ruderman 73e0f6b5f2 Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00

20 lines
381 B
HTML

<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>