summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/514104-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/514104-1.xul')
-rw-r--r--layout/base/crashtests/514104-1.xul22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/base/crashtests/514104-1.xul b/layout/base/crashtests/514104-1.xul
new file mode 100644
index 000000000..bb410b5ce
--- /dev/null
+++ b/layout/base/crashtests/514104-1.xul
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<!-- there must be no extra elements in the document -->
+
+<window onload="
+ document.documentElement.removeChild(document.getElementById('b'));
+ document.getElementById('l').removeChild(document.getElementById('h'));
+ document.documentElement.appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'span'));"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<bindings xmlns="http://www.mozilla.org/xbl" id="b">
+ <binding id="foo">
+ <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><children xmlns="http://www.mozilla.org/xbl"/></listitem></content>
+ </binding>
+</bindings>
+
+<listbox id="l" style="-moz-binding: url(&quot;#foo&quot;);"><hbox id="h"/></listbox>
+
+<listitem/>
+
+</window>