file_bug795275.html 485 B

1234567891011121314151617181920212223242526272829
  1. <html>
  2. <head>
  3. <style>
  4. .bound {
  5. -moz-binding: url(file_bug795275.xml#xbltest);
  6. }
  7. </style>
  8. <script type="application/javascript">
  9. function touchComponents() {
  10. Components;
  11. }
  12. function touchInterfaces() {
  13. Components.interfaces;
  14. }
  15. function touchViaXBL() {
  16. // Make sure none of this warns.
  17. var div = document.getElementById('dummy');
  18. div.testProp;
  19. div.testMethod();
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div id="dummy" class="bound"></div>
  25. </body>
  26. </html>