1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/html/crashtests/766305.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var s = "x"; 1.12 + for (var i = 0; i < 15; ++i) 1.13 + s = s + s; 1.14 + var t = document.createTextNode(s); 1.15 + document.body.appendChild(t); 1.16 + window.getSelection().collapse(t, s.length); 1.17 + document.execCommand("insertText", false, "a"); 1.18 +} 1.19 + 1.20 +</script> 1.21 +</head> 1.22 + 1.23 +<body contenteditable="true" onload="boom();"></body> 1.24 +</html>