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

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

Issue 165793003: Remove tests and code for showModalDialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « 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
51 <p>This is a test of an alert in an iframe: 49 <p>This is a test of an alert in an iframe:
52 <iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe> 50 <iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe>
53 </p> 51 </p>
54 52
55 <p>This is a test of an alert in a nested iframe: 53 <p>This is a test of an alert in a nested iframe:
56 <iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe> 54 <iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe>
57 </p> 55 </p>
58 56
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> 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>
60 58
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> 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>
62 60
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> 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>
64 62
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> 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>
66 64
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> 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>
68 66
69 <div id="text"></div> 67 <div id="text"></div>
70 <div id="text1"></div> 68 <div id="text1"></div>
71 <div id="text2"></div> 69 <div id="text2"></div>
72 </body> 70 </body>
73 </html> 71 </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