summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/232095-1.xul
blob: bfd5476e6f382422bda0404e600a22ec500a9f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:xbl="http://www.mozilla.org/xbl"
  xmlns:html="http://www.w3.org/1999/xhtml"
  >
<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="serverpost_base">
    <implementation>
      <method name="getSuccessfulControls">
        <parameter name="aNode"/>
        <body><![CDATA[
          dump("<html:input type="file"/> has not been tested yet!  This may not work!!!\n");
        ]]></body>
      </method>

      <method name='finalizeAndSubmit'>
        <body>
	  return true;
        </body>
      </method>
    </implementation>
  </binding>
</bindings>

  <html:style type="text/css"><![CDATA[
  @namespace xbl url("http://www.mozilla.org/xbl");
  @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

  xbl|bindings {
    display: none;
  }

  xul|serverpost {
    -moz-binding: url("#serverpost_base");
  }

  ]]></html:style>

  <serverpost/>
  <serverpost/>
</window>