summaryrefslogtreecommitdiff
path: root/js/xpconnect/tests/mochitest/file_bug795275.xml
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/mochitest/file_bug795275.xml')
-rw-r--r--js/xpconnect/tests/mochitest/file_bug795275.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/js/xpconnect/tests/mochitest/file_bug795275.xml b/js/xpconnect/tests/mochitest/file_bug795275.xml
new file mode 100644
index 0000000000..f9e5e60f58
--- /dev/null
+++ b/js/xpconnect/tests/mochitest/file_bug795275.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl"
+ xmlns:html="http://www.w3.org/1999/xhtml">
+<binding id="xbltest">
+<implementation>
+<method name="testMethod" exposeToUntrustedContent="true">
+<body>
+ Components.interfaces;
+</body>
+</method>
+<property name="testProp" readonly="true"
+ onget="Components; return 3;"
+ exposeToUntrustedContent="true" />
+<constructor>
+ var foo = Components;
+</constructor>
+</implementation>
+</binding>
+</bindings>