summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/general/file_interfaces.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/general/file_interfaces.xml')
-rw-r--r--dom/tests/mochitest/general/file_interfaces.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/tests/mochitest/general/file_interfaces.xml b/dom/tests/mochitest/general/file_interfaces.xml
new file mode 100644
index 000000000..8b5aa5bfa
--- /dev/null
+++ b/dom/tests/mochitest/general/file_interfaces.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl">
+ <binding id="xbltest">
+ <content>PASS</content>
+ <implementation>
+ <constructor>
+ var win = XPCNativeWrapper.unwrap(window);
+ var SpecialPowers = win.SpecialPowers;
+ var is = win.is;
+ var todo_is = win.todo_is;
+ var ok = win.ok;
+ var legacyMozPrefixedInterfaces = win.legacyMozPrefixedInterfaces;
+ var createInterfaceMap = win.createInterfaceMap;
+ eval(win.runTest.toString());
+ runTest(true);
+ win.SimpleTest.finish();
+ </constructor>
+ </implementation>
+ </binding>
+</bindings>