bug 387033 - crash test by Olli Pettay.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:20 -0700
changeset 27783 c3900155298a641e5173e024c49f0127e8dc4a5e
parent 27782 9a7346ed943a659e1c67341645d75bf4c3a3cdfe
child 27784 9fa246f8f1213bc87dc240ac8d7b3e25031bc926
push id6720
push userbclary@mozilla.com
push dateFri, 24 Apr 2009 17:10:36 +0000
treeherdermozilla-central@a1e84240b5c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs387033
milestone1.9.2a1pre
bug 387033 - crash test by Olli Pettay.
layout/xul/base/src/crashtests/387033-1.xhtml
layout/xul/base/src/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/xul/base/src/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>
--- a/layout/xul/base/src/crashtests/crashtests.list
+++ b/layout/xul/base/src/crashtests/crashtests.list
@@ -27,16 +27,17 @@ load 369942-1.xhtml
 load 374102-1.xul
 load 377592-1.svg
 load 382746-1.xul
 load 382899-1.xul
 load 383236-1.xul
 load 384105-1.html
 load 384491-1.xhtml
 load 384871-1.html
+load 387033-1.xhtml
 load 394120-1.xhtml
 load 397304-1.html
 load 398326-1.xhtml
 load 402912-1.xhtml
 load 408904-1.xul
 load 412479-1.xhtml
 load 430356-1.xhtml
 load 431738.xhtml