1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/html/crashtests/418923-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<html><head><script type="text/javascript"> 1.5 + 1.6 +function boom() 1.7 +{ 1.8 + var dE = document.documentElement; 1.9 + var head = document.getElementsByTagName("head")[0]; 1.10 + dE.removeChild(document.body); 1.11 + dE.contentEditable = "true"; 1.12 + dE.focus(); 1.13 + dE.contentEditable = "false"; 1.14 + head.focus(); 1.15 + head.contentEditable = "true"; 1.16 + try { 1.17 + document.execCommand("selectAll", false, ""); 1.18 + } catch(e) { 1.19 + } 1.20 +} 1.21 + 1.22 +</script></head><body onload="boom();"></body></html> 1.23 \ No newline at end of file