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

Side by Side Diff: ManualTests/show-modal-dialog-test.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
« no previous file with comments | « ManualTests/modal-dialog-blur.html ('k') | ManualTests/showModalDialog-returnValue.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 function showModal() {
3 document.form.fromModal.value =
4 showModalDialog("modal-dialog.html",
5 document.form.toModal.value,
6 "dialogHeight:280px,dialogWidth:400px");
7 }
8 </script>
9 <form name="form">
10 <p>Type text here to be sent to the modal window and press the button:
11 <input name="toModal" value="from main window">
12 <input type="button" value="Show Modal" onClick="showModal()"></p>
13 <hy>
14 <p>Text will appear here from the modal window: <input name="fromModal">
15 </form>
OLDNEW
« no previous file with comments | « ManualTests/modal-dialog-blur.html ('k') | ManualTests/showModalDialog-returnValue.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698