diff options
Diffstat (limited to 'dom/base/crashtests/554230-1.xhtml')
-rw-r--r-- | dom/base/crashtests/554230-1.xhtml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/base/crashtests/554230-1.xhtml b/dom/base/crashtests/554230-1.xhtml new file mode 100644 index 000000000..753d5c0fd --- /dev/null +++ b/dom/base/crashtests/554230-1.xhtml @@ -0,0 +1,15 @@ +<html class="reftest-wait" xmlns="http://www.w3.org/1999/xhtml"><iframe contenteditable="true"></iframe><span></span><script style="display: none;" id="fuzz1" type="text/javascript"> +<![CDATA[ + +function boom() +{ + document.getElementsByTagName("iframe")[0].focus(); + document.getElementsByTagName("span")[0].appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "div")); + document.execCommand("selectAll", false, null); + document.documentElement.removeAttribute("class"); +} + +window.addEventListener("load", boom, false); + +]]> +</script></html> |