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

Side by Side Diff: third_party/webdriver/test_data/alerts.html

Issue 201153003: Revert 252883 "Remove tests and code for showModalDialog" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « content/test/data/error-body-no-crash.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Testing Alerts</title> 3 <title>Testing Alerts</title>
4 4
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function setInnerText(id, value) { 6 function setInnerText(id, value) {
7 document.getElementById(id).innerHTML = '<p>' + value + '</p>'; 7 document.getElementById(id).innerHTML = '<p>' + value + '</p>';
8 } 8 }
9 9
10 function displayPrompt() { 10 function displayPrompt() {
(...skipping 28 matching lines...) Expand all
39 39
40 <p>Let's make the <a href="#" id="prompt-with-default" onclick="displayPromptWit hDefault();">prompt with default happen</a></p> 40 <p>Let's make the <a href="#" id="prompt-with-default" onclick="displayPromptWit hDefault();">prompt with default happen</a></p>
41 41
42 <p>Let's make TWO <a href="#" id="double-prompt" onclick="displayTwoPrompts();"> prompts happen</a></p> 42 <p>Let's make TWO <a href="#" id="double-prompt" onclick="displayTwoPrompts();"> prompts happen</a></p>
43 43
44 <p>A <a href="#" id="slow-alert" onclick="slowAlert();">SLOW</a> alert</p> 44 <p>A <a href="#" id="slow-alert" onclick="slowAlert();">SLOW</a> alert</p>
45 45
46 <p>This is a test of a confirm: 46 <p>This is a test of a confirm:
47 <a href="simpleTest.html" id="confirm" onclick="return confirm('Are you sure ?');">test confirm</a></p> 47 <a href="simpleTest.html" id="confirm" onclick="return confirm('Are you sure ?');">test confirm</a></p>
48 48
49 <p>This is a test of showModalDialog: <a href="#" id="dialog" onclick="showModal Dialog('javascriptPage.html')">test dialog</a></p>
50
49 <p>This is a test of an alert in an iframe: 51 <p>This is a test of an alert in an iframe:
50 <iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe> 52 <iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe>
51 </p> 53 </p>
52 54
53 <p>This is a test of an alert in a nested iframe: 55 <p>This is a test of an alert in a nested iframe:
54 <iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe> 56 <iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe>
55 </p> 57 </p>
56 58
57 <p>This is a test of an alert open from onload event handler: <a id="open-page-w ith-onload-alert" href="pageWithOnLoad.html">open new page</a></p> 59 <p>This is a test of an alert open from onload event handler: <a id="open-page-w ith-onload-alert" href="pageWithOnLoad.html">open new page</a></p>
58 60
59 <p>This is a test of an alert open from onload event handler: <a id="open-window -with-onload-alert" href="pageWithOnLoad.html" target="onload">open new window</ a></p> 61 <p>This is a test of an alert open from onload event handler: <a id="open-window -with-onload-alert" href="pageWithOnLoad.html" target="onload">open new window</ a></p>
60 62
61 <p>This is a test of an alert open from onunload event handler: <a id="open-page -with-onunload-alert" href="pageWithOnUnload.html">open new page</a></p> 63 <p>This is a test of an alert open from onunload event handler: <a id="open-page -with-onunload-alert" href="pageWithOnUnload.html">open new page</a></p>
62 64
63 <p>This is a test of an alert open from onclose event handler: <a id="open-windo w-with-onclose-alert" href="pageWithOnUnload.html" target="onclose">open new win dow</a></p> 65 <p>This is a test of an alert open from onclose event handler: <a id="open-windo w-with-onclose-alert" href="pageWithOnUnload.html" target="onclose">open new win dow</a></p>
64 66
65 <p>This is a test of an alert open from onclose event handler: <a id="open-new-w indow" href="blank.html" target="newwindow">open new window</a></p> 67 <p>This is a test of an alert open from onclose event handler: <a id="open-new-w indow" href="blank.html" target="newwindow">open new window</a></p>
66 68
67 <div id="text"></div> 69 <div id="text"></div>
68 <div id="text1"></div> 70 <div id="text1"></div>
69 <div id="text2"></div> 71 <div id="text2"></div>
70 </body> 72 </body>
71 </html> 73 </html>
OLDNEW
« no previous file with comments | « content/test/data/error-body-no-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698