[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.24
[framework/web/webkit-efl.git] / LayoutTests / fast / harness / show-modal-dialog.html
1 <html>
2 <head>
3 <script>
4     function runTests()
5     {
6         if (window.layoutTestController) {
7             layoutTestController.dumpAsText();
8             layoutTestController.setCanOpenWindows();
9             layoutTestController.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>