summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/321056-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/321056-1.xhtml')
-rw-r--r--layout/xul/crashtests/321056-1.xhtml10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/xul/crashtests/321056-1.xhtml b/layout/xul/crashtests/321056-1.xhtml
new file mode 100644
index 000000000..a7ba11793
--- /dev/null
+++ b/layout/xul/crashtests/321056-1.xhtml
@@ -0,0 +1,10 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<xul:titlebar id="a"/>
+
+<script>
+var html = document.firstChild;
+var a = document.getElementById('a')
+document.removeChild(html)
+document.appendChild(a)
+</script>
+</html>