summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/385885-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/385885-1.xul')
-rw-r--r--layout/generic/crashtests/385885-1.xul19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/generic/crashtests/385885-1.xul b/layout/generic/crashtests/385885-1.xul
new file mode 100644
index 000000000..e36a41034
--- /dev/null
+++ b/layout/generic/crashtests/385885-1.xul
@@ -0,0 +1,19 @@
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom()">
+
+<script>
+<![CDATA[
+
+function boom()
+{
+ var de = document.documentElement;
+
+ de.style.MozBinding = "url('data:text/xml,<bindings xmlns=%22http://www.mozilla.org/xbl%22><binding id=%22foo%22><content></content></binding></bindings>')";
+
+ document.removeChild(de);
+ document.appendChild(de);
+}
+
+]]>
+</script>
+
+</window>