diff options
Diffstat (limited to 'dom/xul/crashtests/429085-1.xhtml')
-rw-r--r-- | dom/xul/crashtests/429085-1.xhtml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/xul/crashtests/429085-1.xhtml b/dom/xul/crashtests/429085-1.xhtml new file mode 100644 index 000000000..96e030fd4 --- /dev/null +++ b/dom/xul/crashtests/429085-1.xhtml @@ -0,0 +1,21 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<script type="text/javascript"> +<![CDATA[ + +function boom() +{ + var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; + var prefs = document.createElementNS(XUL_NS, "preferences"); + var textbox = document.createElementNS(XUL_NS, "textbox"); + textbox.setAttribute("onchange", "1"); + prefs.appendChild(textbox); + prefs.cloneNode(true); +} + +]]> +</script> +</head> + +<body onload="boom();"></body> +</html> |