summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/535911-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/535911-1.xhtml')
-rw-r--r--layout/base/crashtests/535911-1.xhtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/base/crashtests/535911-1.xhtml b/layout/base/crashtests/535911-1.xhtml
new file mode 100644
index 0000000000..181086c54b
--- /dev/null
+++ b/layout/base/crashtests/535911-1.xhtml
@@ -0,0 +1,16 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+
+function boom()
+{
+ var s = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
+ var b = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "box");
+ s.appendChild(b);
+ document.getElementById("a").appendChild(s);
+}
+
+</script>
+</head>
+<body onload="boom();" style="column-width: 1px;"><span id="a"><box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/></span><div>Hello</div></body>
+</html>