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

Side by Side Diff: ManualTests/modal-dialog.html

Issue 512533002: Remove showModalDialog layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 <head>
2 <script>
3 function timerFired()
4 {
5 document.getElementById("timerResult").firstChild.data = "Timer fired!";
6 }
7
8 function closeModal() {
9 window.returnValue = document.form.toWindow.value;
10 window.close();
11 }
12
13 function init()
14 {
15 document.form.fromWindow.value = window.dialogArguments;
16 }
17 </script>
18 </head>
19 <body onload="init()">
20 <form name="form">
21 <p>Here is the text from the main window: <input name="fromWindow"></p>
22 <p>Type text here to be sent back to the main window: <input name="toWindow" val ue="from modal window"></p>
23 <p>Then, push this button: <input type="button" value="Close" onClick="closeModa l()"></p>
24 <p>Push this button to test timer: <input type="button" value="Test Timer" onCli ck="setTimeout(timerFired, 0)"></p>
25 <p id="timerResult">Timer did not fire yet.</p>
26 </form>
27 </body>
OLDNEW
« no previous file with comments | « ManualTests/js-timers-beneath-modal-dialog.html ('k') | ManualTests/modal-dialog-arguments.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698