summaryrefslogtreecommitdiffstats
path: root/dom/xbl/test/bug310107-resource.xhtml
blob: 2a3f1df358092ba1d88afc210a816751710cf36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>