Add copy of .ttf font with .eot extension for testing
[wine-gecko.git] / docshell / test / test_bug404548.html
blob6666686783d3b46970e4f131c8d646fbb2d91117
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=404548
5 -->
6 <head>
7 <title>Test for Bug 404548</title>
8 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=404548">Mozilla Bug 404548</a>
14 <p id="display">
15 </p>
16 <div id="content" style="display: none">
18 </div>
19 <pre id="test">
20 <script class="testbody" type="text/javascript">
22 /** Test for Bug 404548 **/
23 var firstRemoved = false;
24 var secondHidden = false;
26 SimpleTest.waitForExplicitFinish();
28 var w = window.open("bug404548-subframe.html", "", "width=10,height=10");
30 function finishTest() {
31 is(firstRemoved, true, "Should have removed iframe from the DOM")
32 is(secondHidden, true, "Should have fired pagehide on second kid");
33 w.close();
34 SimpleTest.finish();
36 </script>
37 </pre>
38 </body>
39 </html>