tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_messageChannelWithMessageManager.xhtml (887B)


      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 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
      8 
      9  <!-- test results are displayed in the html:body -->
     10  <body xmlns="http://www.w3.org/1999/xhtml">
     11  </body>
     12 
     13  <!-- test code goes here -->
     14  <script type="application/javascript"><![CDATA[
     15 
     16  SimpleTest.waitForExplicitFinish();
     17 
     18  function done() {
     19    info("done called");
     20    SimpleTest.finish();
     21  }
     22 
     23  addLoadEvent(function() {
     24    window.openDialog("mm_messageChannelParent.xhtml", "", "chrome,noopener", window);
     25  });
     26  ]]></script>
     27 </window>