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

Unified Diff: third_party/webdriver/test_data/upload.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
Index: third_party/webdriver/test_data/upload.html
diff --git a/third_party/webdriver/test_data/upload.html b/third_party/webdriver/test_data/upload.html
deleted file mode 100644
index aca398ab7434d4a3946b94e88f79b1d5b0570e92..0000000000000000000000000000000000000000
--- a/third_party/webdriver/test_data/upload.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Upload Form</title>
- <script>
- var intervalId;
- function onTick() {
- var label = document.getElementById('upload_label');
- label.innerHTML += '.';
- }
-
- function onUploadSubmit() {
- document.getElementById('upload_target').contentWindow.document.body.
- innerHTML = '';
- var label = document.getElementById('upload_label');
- label.innerHTML = 'Uploading "' + document.forms[0].upload.value + '"';
- label.style.display = '';
- intervalId = window.setInterval(onTick, 500);
- return true;
- }
-
- function onUploadDone() {
- var label = document.getElementById('upload_label');
- label.style.display = 'none';
- window.clearInterval(intervalId);
- return true;
- }
- </script>
-</head>
-<body>
-<form action="/common/upload" method="post" name="upload_form"
- target="upload_target" enctype="multipart/form-data"
- onsubmit="onUploadSubmit();">
- <div>
- Enter a file to upload:
- <div><input id="upload" name="upload" type="file"/></div>
- <div><input id="go" type="submit" value="Go!"/></div>
- </div>
- <div id="upload_label" style="display:none"></div>
- <iframe src="" id="upload_target" name="upload_target"
- style="width:300px;height:200px">
- </iframe>
-</form>
-</body>
-</html>
« no previous file with comments | « third_party/webdriver/test_data/underscore.html ('k') | third_party/webdriver/test_data/veryLargeCanvas.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698