1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/603490-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +<!DOCTYPE html><html><script> 1.5 + 1.6 +function boom() 1.7 +{ 1.8 + while (document.documentElement.firstChild) 1.9 + document.documentElement.removeChild(document.documentElement.firstChild); 1.10 + document.documentElement.contentEditable = "true"; 1.11 + document.execCommand("strikethrough", false, null); 1.12 + try { document.execCommand("justifyfull", false, null); } catch(e) { } 1.13 + document.documentElement.offsetHeight; 1.14 + try { document.execCommand("delete", false, null); } catch(e) { } 1.15 + document.execCommand("inserthtml", false, "<span> <\/span>"); 1.16 +} 1.17 +window.addEventListener("load", boom, false); 1.18 + 1.19 +</script></html>