Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Side by Side Diff: LayoutTests/fast/harness/show-modal-dialog.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698