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

Unified Diff: third_party/webdriver/test_data/alerts.html

Issue 424363004: Update third_party/webdriver/pylib to r18456 and delete test_data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "python" -> "pylib" Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/webdriver/test_data/ajaxy_page.html ('k') | third_party/webdriver/test_data/animals/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/webdriver/test_data/alerts.html
diff --git a/third_party/webdriver/test_data/alerts.html b/third_party/webdriver/test_data/alerts.html
deleted file mode 100644
index 3ae831b6cb9ebb69b7355dc5a705787acb2875b7..0000000000000000000000000000000000000000
--- a/third_party/webdriver/test_data/alerts.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<html>
-<head>
- <title>Testing Alerts</title>
-
- <script type="text/javascript">
- function setInnerText(id, value) {
- document.getElementById(id).innerHTML = '<p>' + value + '</p>';
- }
-
- function displayPrompt() {
- setInnerText('text', prompt('Enter something'));
- }
-
- function displayPromptWithDefault() {
- setInnerText('text', prompt('Enter something', 'This is a default value'));
- }
-
- function displayTwoPrompts() {
- setInnerText('text1', prompt('First'));
- setInnerText('text2', prompt('Second'));
- }
-
- function slowAlert() {
- window.setTimeout(function() {
- alert('Slow');
- }, 200);
- }
- </script>
-</head>
-<body>
-
-<h1>Testing Alerts and Stuff</h1>
-
-<p>This tests alerts: <a href="#" id="alert" onclick="alert('cheese');">click me</a></p>
-
-<p>This tests alerts: <a href="#" id="empty-alert" onclick="alert('');">click me</a></p>
-
-<p>Let's make the <a href="#" id="prompt" onclick="displayPrompt();">prompt happen</a></p>
-
-<p>Let's make the <a href="#" id="prompt-with-default" onclick="displayPromptWithDefault();">prompt with default happen</a></p>
-
-<p>Let's make TWO <a href="#" id="double-prompt" onclick="displayTwoPrompts();">prompts happen</a></p>
-
-<p>A <a href="#" id="slow-alert" onclick="slowAlert();">SLOW</a> alert</p>
-
-<p>This is a test of a confirm:
- <a href="simpleTest.html" id="confirm" onclick="return confirm('Are you sure?');">test confirm</a></p>
-
-<p>This is a test of showModalDialog: <a href="#" id="dialog" onclick="showModalDialog('javascriptPage.html')">test dialog</a></p>
-
-<p>This is a test of an alert in an iframe:
- <iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe>
-</p>
-
-<p>This is a test of an alert in a nested iframe:
- <iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe>
-</p>
-
-<p>This is a test of an alert open from onload event handler: <a id="open-page-with-onload-alert" href="pageWithOnLoad.html">open new page</a></p>
-
-<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>
-
-<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>
-
-<p>This is a test of an alert open from onclose event handler: <a id="open-window-with-onclose-alert" href="pageWithOnUnload.html" target="onclose">open new window</a></p>
-
-<p>This is a test of an alert open from onclose event handler: <a id="open-new-window" href="blank.html" target="newwindow">open new window</a></p>
-
-<div id="text"></div>
-<div id="text1"></div>
-<div id="text2"></div>
-</body>
-</html>
« no previous file with comments | « third_party/webdriver/test_data/ajaxy_page.html ('k') | third_party/webdriver/test_data/animals/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698