1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/html/crashtests/615450-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE html> 1.5 +<html contenteditable="true"> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + document.documentElement.appendChild(document.body); 1.12 + document.documentElement.contentEditable = "false"; 1.13 + try { document.execCommand("outdent", false, null); } catch(e) { } 1.14 + document.body.contentEditable = "true"; 1.15 + try { document.execCommand("inserthtml", false, "x"); } catch(e) { } 1.16 +} 1.17 + 1.18 +</script> 1.19 +</head> 1.20 +<body onload="boom();"><div style="margin-left: 40px;"><span contenteditable="true">p q r s</span> T</div></body></html>