summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/470063-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/470063-1.html')
-rw-r--r--layout/xul/crashtests/470063-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/xul/crashtests/470063-1.html b/layout/xul/crashtests/470063-1.html
new file mode 100644
index 0000000000..11c01b30e4
--- /dev/null
+++ b/layout/xul/crashtests/470063-1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ document.removeChild(document.documentElement)
+ document.appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "hbox"));
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>