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