summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/387033-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/387033-1.xhtml')
-rw-r--r--layout/xul/crashtests/387033-1.xhtml31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/xul/crashtests/387033-1.xhtml b/layout/xul/crashtests/387033-1.xhtml
new file mode 100644
index 000000000..58325b1a7
--- /dev/null
+++ b/layout/xul/crashtests/387033-1.xhtml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xbl="http://www.mozilla.org/xbl"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <head>
+ <xbl:bindings>
+ <xbl:binding id="test" extends="chrome://global/content/bindings/text.xml#text-label">
+ <xbl:implementation>
+ <xbl:property name="accessKey">
+ <xbl:getter>
+ <![CDATA[
+ this.parentNode.parentNode.removeChild(this.parentNode);
+ return "";
+ ]]>
+ </xbl:getter>
+ <xbl:setter>
+ <![CDATA[
+ return val;
+ ]]>
+ </xbl:setter>
+ </xbl:property>
+ </xbl:implementation>
+ </xbl:binding>
+ </xbl:bindings>
+ </head>
+ <body>
+ <xul:hbox>
+ <xul:label value="foobar" style="-moz-binding: url(#test)"/>
+ </xul:hbox>
+ </body>
+</html>