|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=453896 |
|
5 --> |
|
6 <head> |
|
7 <title>Test for Bug 453896</title> |
|
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
10 </head> |
|
11 <body onload="run()"> |
|
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=453896">Mozilla Bug 453896</a> |
|
13 <div id="display"> |
|
14 |
|
15 <div style="display:-moz-deck; height: 300px; width: 300px;"> |
|
16 <iframe src="about:blank"></iframe> |
|
17 <iframe id="subdoc" src="bug453896_iframe.html"></iframe> |
|
18 <iframe src="about:blank"></iframe> |
|
19 </div> |
|
20 |
|
21 <pre id="test"> |
|
22 <script class="testbody" type="text/javascript"> |
|
23 |
|
24 /** Test for Bug 453896 **/ |
|
25 |
|
26 function run() |
|
27 { |
|
28 var iframe = document.getElementById("subdoc"); |
|
29 var subdoc = iframe.contentDocument; |
|
30 var subwin = iframe.contentWindow; |
|
31 |
|
32 subwin.run(window); |
|
33 } |
|
34 |
|
35 SimpleTest.waitForExplicitFinish(); |
|
36 |
|
37 </script> |
|
38 </pre> |
|
39 </body> |
|
40 </html> |
|
41 |