Add copy of .ttf font with .eot extension for testing
[wine-gecko.git] / docshell / test / test_bug123696.html
blob9e6df33709be8467a376cdf86076998121e269f7
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=123696
5 -->
6 <head>
7 <title>Test for Bug 123696</title>
8 <script type="application/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="application/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=123696">Mozilla Bug 123696</a>
14 <p id="display">
15 <iframe src="bug123696-subframe.html"></iframe>
16 </p>
17 <div id="content" style="display: none">
19 </div>
20 <pre id="test">
21 <script type="application/javascript">
23 /** Test for Bug 123696 **/
24 SimpleTest.waitForExplicitFinish();
26 function finishTest() {
27 is(window.frames[0].frames[0].document.documentElement.textContent,
28 "change2", "Reload should have reloaded correctly!");
29 SimpleTest.finish();
32 function doReload() {
33 window.frames[0].frameElement.onload = finishTest;
34 window.frames[0].location.reload();
37 addLoadEvent(function() {
38 window.frames[0].frames[0].frameElement.onload = doReload;
39 window.frames[0].frames[0].frameElement.src = "javascript:parent.change2()";
40 });
44 </script>
45 </pre>
46 </body>
47 </html>