summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/232095-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/crashtests/232095-1.xul')
-rw-r--r--dom/xbl/crashtests/232095-1.xul44
1 files changed, 44 insertions, 0 deletions
diff --git a/dom/xbl/crashtests/232095-1.xul b/dom/xbl/crashtests/232095-1.xul
new file mode 100644
index 000000000..bfd5476e6
--- /dev/null
+++ b/dom/xbl/crashtests/232095-1.xul
@@ -0,0 +1,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>