summaryrefslogtreecommitdiffstats
path: root/dom/xbl/test/bug310107-resource.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/test/bug310107-resource.xhtml')
-rw-r--r--dom/xbl/test/bug310107-resource.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/xbl/test/bug310107-resource.xhtml b/dom/xbl/test/bug310107-resource.xhtml
new file mode 100644
index 000000000..2a3f1df35
--- /dev/null
+++ b/dom/xbl/test/bug310107-resource.xhtml
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <style>
+ #bar {
+ -moz-binding: url("#binding");
+ }
+ </style>
+ <bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="binding">
+ <implementation>
+ <property name="prop" readonly="true" exposeToUntrustedContent="true"
+ onget="return 2;"/>
+ </implementation>
+ </binding>
+ </bindings>
+ </head>
+ <!-- Use a timeout so that we get bfcached -->
+ <body onload="setTimeout(window.opener.runTest, 100)">
+ <div id="bar"></div>
+ </body>
+</html>