test_messageChannelWithMessageManagerNotRemote.xul 911 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  3. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  4. type="text/css"?>
  5. <window title="Test MessageChannel API with nsFrameMessageManager(bug 1174624)"
  6. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7. <script type="application/javascript"
  8. src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
  9. <!-- test results are displayed in the html:body -->
  10. <body xmlns="http://www.w3.org/1999/xhtml">
  11. </body>
  12. <!-- test code goes here -->
  13. <script type="application/javascript"><![CDATA[
  14. SimpleTest.waitForExplicitFinish();
  15. function done() {
  16. info("done called");
  17. SimpleTest.finish();
  18. }
  19. addLoadEvent(function() {
  20. window.open("mm_messageChannelParentNotRemote.xul", "", "chrome");
  21. });
  22. ]]></script>
  23. </window>