1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/base/crashtests/633709.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 + 1.6 +<body><div contenteditable="true"></div><div><input id="i"><div></div></input></div></body> 1.7 + 1.8 +<script id="s"> 1.9 +<![CDATA[ 1.10 + 1.11 +function boom() 1.12 +{ 1.13 + document.getElementById("i").focus(); 1.14 + 1.15 + try { document.execCommand("stylewithcss", false, "true") } catch(e) { } 1.16 + try { document.execCommand("inserthtml", false, "<x>X</x>"); } catch(e) { } 1.17 + try { document.execCommand("underline", false, null); } catch(e) { } 1.18 + try { document.execCommand("justifyfull", false, null); } catch(e) { } 1.19 + try { document.execCommand("underline", false, null); } catch(e) { } 1.20 + try { document.execCommand("insertParagraph", false, null); } catch(e) { } 1.21 + try { document.execCommand("delete", false, null); } catch(e) { } 1.22 + 1.23 + try { document.execCommand("stylewithcss", false, "false") } catch(e) { } 1.24 + try { document.execCommand("inserthtml", false, "<x>X</x>"); } catch(e) { } 1.25 + try { document.execCommand("underline", false, null); } catch(e) { } 1.26 + try { document.execCommand("justifyfull", false, null); } catch(e) { } 1.27 + try { document.execCommand("underline", false, null); } catch(e) { } 1.28 + try { document.execCommand("insertParagraph", false, null); } catch(e) { } 1.29 + try { document.execCommand("delete", false, null); } catch(e) { } 1.30 + 1.31 + document.documentElement.removeAttribute("class"); 1.32 +} 1.33 + 1.34 +setTimeout(boom, 10); 1.35 + 1.36 +]]> 1.37 +</script> 1.38 + 1.39 +</html>