dom/xbl/crashtests/232095-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xbl/crashtests/232095-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     1.6 +<window
     1.7 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.8 +  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.9 +  xmlns:xbl="http://www.mozilla.org/xbl"
    1.10 +  xmlns:html="http://www.w3.org/1999/xhtml"
    1.11 +  >
    1.12 +<bindings xmlns="http://www.mozilla.org/xbl">
    1.13 +  <binding id="serverpost_base">
    1.14 +    <implementation>
    1.15 +      <method name="getSuccessfulControls">
    1.16 +        <parameter name="aNode"/>
    1.17 +        <body><![CDATA[
    1.18 +          dump("<html:input type="file"/> has not been tested yet!  This may not work!!!\n");
    1.19 +        ]]></body>
    1.20 +      </method>
    1.21 +
    1.22 +      <method name='finalizeAndSubmit'>
    1.23 +        <body>
    1.24 +	  return true;
    1.25 +        </body>
    1.26 +      </method>
    1.27 +    </implementation>
    1.28 +  </binding>
    1.29 +</bindings>
    1.30 +
    1.31 +  <html:style type="text/css"><![CDATA[
    1.32 +  @namespace xbl url("http://www.mozilla.org/xbl");
    1.33 +  @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.34 +
    1.35 +  xbl|bindings {
    1.36 +    display: none;
    1.37 +  }
    1.38 +
    1.39 +  xul|serverpost {
    1.40 +    -moz-binding: url("#serverpost_base");
    1.41 +  }
    1.42 +
    1.43 +  ]]></html:style>
    1.44 +
    1.45 +  <serverpost/>
    1.46 +  <serverpost/>
    1.47 +</window>

mercurial