|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=406375 |
|
5 --> |
|
6 <head> |
|
7 <title>Test for Bug 406375</title> |
|
8 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
|
10 </head> |
|
11 <body onload="runTest()"> |
|
12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=406375">Mozilla Bug 406375</a> |
|
13 <p id="display"></p> |
|
14 <div id="content" style="display: none"> |
|
15 |
|
16 </div> |
|
17 <pre id="test"> |
|
18 <script type="application/javascript"> |
|
19 |
|
20 if (navigator.platform.startsWith("Mac")) { |
|
21 SimpleTest.expectAssertions(2); |
|
22 } |
|
23 |
|
24 /** Test for Bug 406375 **/ |
|
25 |
|
26 |
|
27 SimpleTest.waitForExplicitFinish(); |
|
28 |
|
29 function runTest() { |
|
30 window.showModalDialog("file_bug406375.html"); |
|
31 ok(true, "This test should not hang"); |
|
32 |
|
33 SimpleTest.finish(); |
|
34 } |
|
35 |
|
36 </script> |
|
37 </pre> |
|
38 </body> |
|
39 </html> |