|
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"> |
|
12 |
|
13 /** Test for Bug 857555 **/ |
|
14 SimpleTest.waitForExplicitFinish(); |
|
15 |
|
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> |