dom/tests/mochitest/bugs/test_bug857555.html

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 <!DOCTYPE HTML>
     2 <html>
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=857555
     5 -->
     6 <head>
     7   <meta charset="utf-8">
     8   <title>Test for Bug 857555</title>
     9   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    10   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    11   <script type="application/javascript">
    13   /** Test for Bug 857555 **/
    14   SimpleTest.waitForExplicitFinish();
    16   addLoadEvent(function() {
    17     is(content, $("t").contentWindow, "'content' as iframe name should work");
    18     is(sidebar, $("u").contentWindow, "'sidebar' as iframe name should work");
    19     SimpleTest.finish();
    20   });
    21   </script>
    22 </head>
    23 <body>
    24 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=857555">Mozilla Bug 857555</a>
    25 <p id="display"></p>
    26 <div id="content" style="display: none">
    27   <iframe name="content" id="t"></iframe>
    28   <iframe name="sidebar" id="u"></iframe>
    29 </div>
    30 <pre id="test">
    31 </pre>
    32 </body>
    33 </html>

mercurial