summaryrefslogtreecommitdiff
path: root/js/xpconnect/tests/mochitest/file_bug795275.html
blob: 95e9f2a8eae89d45107c388243fe6581bd5f3c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<style>
  .bound {
    -moz-binding: url(file_bug795275.xml#xbltest);
  }
</style>
<script type="application/javascript">
  function touchComponents() {
    Components;
  }
  function touchInterfaces() {
    Components.interfaces;
  }

  function touchViaXBL() {
    // Make sure none of this warns.
    var div = document.getElementById('dummy');
    div.testProp;
    div.testMethod();
  }

</script>
</head>
<body>
<div id="dummy" class="bound"></div>
</body>
</html>