1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/html/crashtests/769008-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var x = document.getElementById("x"); 1.12 + 1.13 + window.getSelection().removeAllRanges(); 1.14 + 1.15 + var range = document.createRange(); 1.16 + range.setStart(x, 0); 1.17 + range.setEnd(x, 0); 1.18 + window.getSelection().addRange(range); 1.19 + 1.20 + document.execCommand("delete", false, "null"); 1.21 +} 1.22 + 1.23 +</script> 1.24 +</head> 1.25 +<body contenteditable="true" onload="boom();"><div></div><span id="x"></span></body> 1.26 +</html>