1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/xpconnect/tests/mochitest/file_bug795275.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<?xml version="1.0"?> 1.5 +<bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl" 1.6 + xmlns:html="http://www.w3.org/1999/xhtml"> 1.7 +<binding id="xbltest"> 1.8 +<implementation> 1.9 +<method name="testMethod" exposeToUntrustedContent="true"> 1.10 +<body> 1.11 + Components.interfaces; 1.12 +</body> 1.13 +</method> 1.14 +<property name="testProp" readonly="true" 1.15 + onget="Components; return 3;" 1.16 + exposeToUntrustedContent="true" /> 1.17 +<constructor> 1.18 + var foo = Components; 1.19 +</constructor> 1.20 +</implementation> 1.21 +</binding> 1.22 +</bindings>