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