layout/xul/crashtests/387033-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/387033-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml"
     1.6 +      xmlns:xbl="http://www.mozilla.org/xbl"
     1.7 +      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.8 +  <head>
     1.9 +    <xbl:bindings>
    1.10 +      <xbl:binding id="test" extends="chrome://global/content/bindings/text.xml#text-label">
    1.11 +        <xbl:implementation>
    1.12 +          <xbl:property name="accessKey">
    1.13 +            <xbl:getter>
    1.14 +              <![CDATA[
    1.15 +                this.parentNode.parentNode.removeChild(this.parentNode);
    1.16 +                return "";
    1.17 +              ]]>
    1.18 +            </xbl:getter>
    1.19 +            <xbl:setter>
    1.20 +              <![CDATA[
    1.21 +                return val;
    1.22 +              ]]>
    1.23 +            </xbl:setter>
    1.24 +          </xbl:property>
    1.25 +        </xbl:implementation>
    1.26 +      </xbl:binding>
    1.27 +    </xbl:bindings>
    1.28 +  </head>
    1.29 +  <body>
    1.30 +    <xul:hbox>
    1.31 +      <xul:label value="foobar" style="-moz-binding: url(#test)"/>
    1.32 +    </xul:hbox>
    1.33 +  </body>
    1.34 +</html>

mercurial