layout/base/tests/chrome/test_chrome_content_integration.xul

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
     3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
     4                  type="text/css"?>
     5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     6   <script type="application/javascript"
     7           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     8   <script type="application/javascript"
     9           src="chrome://mochikit/content/chrome-harness.js"></script>
    11   <!-- test results are displayed in the html:body -->
    12   <body xmlns="http://www.w3.org/1999/xhtml">
    13   </body>
    15   <!-- test code goes here -->
    16   <script type="application/javascript">
    17   <![CDATA[
    18     SimpleTest.waitForExplicitFinish();
    19     // Run the test in a separate window so that the test runs as a chrome
    20     // window
    21     var root = getRootDirectory(window.location.href);
    22     window.open(root + "chrome_content_integration_window.xul", "chrome_content_integration",
    23                 "chrome,width=200,height=300");
    24   ]]>
    25   </script>
    26 </window>

mercurial