summaryrefslogtreecommitdiff
path: root/layout/xul/crashtests/475133.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/475133.html')
-rw-r--r--layout/xul/crashtests/475133.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/xul/crashtests/475133.html b/layout/xul/crashtests/475133.html
new file mode 100644
index 0000000000..ea4ee63250
--- /dev/null
+++ b/layout/xul/crashtests/475133.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript">
+function x()
+{
+ document.removeEventListener("DOMAttrModified", x, false);
+ document.removeChild(document.documentElement);
+}
+
+function boom()
+{
+ var p = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "progressmeter");
+ document.addEventListener("DOMAttrModified", x, false);
+ document.documentElement.appendChild(p);
+}
+</script>
+</head>
+<body onload="boom();"></body>
+</html>