OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script> | |
4 function runTests() | |
5 { | |
6 if (window.testRunner) { | |
7 testRunner.dumpAsText(); | |
8 testRunner.setCanOpenWindows(); | |
9 testRunner.waitUntilDone(); | |
10 } | |
11 showModalDialog("resources/modal-dialog.html"); | |
12 } | |
13 | |
14 function log(message) | |
15 { | |
16 var console = document.getElementById("console"); | |
17 var li = document.createElement("li"); | |
18 var text = document.createTextNode(message); | |
19 | |
20 console.appendChild(li); | |
21 li.appendChild(text); | |
22 } | |
23 </script> | |
24 </head> | |
25 | |
26 <body onload="runTests()"> | |
27 <p>This test verifies that showModalDialog implementation in DRT works. | |
28 <p>You need to disable pop-up blocker for this test to run successfully.</p> | |
29 <ul id="console"></ul> | |
30 </body> | |
31 </html> | |
OLD | NEW |