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

Unified Diff: third_party/webdriver/test_data/cookies.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/cookies.html
diff --git a/third_party/webdriver/test_data/cookies.html b/third_party/webdriver/test_data/cookies.html
deleted file mode 100644
index f2d4c7ce7c0be56c6e58787fd7a8917e6c70d6ab..0000000000000000000000000000000000000000
--- a/third_party/webdriver/test_data/cookies.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-<head>
- <title>Testing cookies</title>
-
- <script type="text/javascript">
- function setCookie(domain, name) {
- document.cookie = name + "=ok;path=/;domain=" + domain;
- }
-
- function showCookie() {
- document.getElementById("result").innerHTML = "<p>" + document.cookie + "</p>";
- }
- </script>
-</head>
-<body onload="showCookie();">
-<h2>Cookie Mashing</h2>
- .com <a href="#" onclick="setCookie('.com', 'the.com_one'); showCookie(); return false;">Click</a></br />
- . <a href="#" onclick="setCookie('.', 'the.one'); showCookie(); return false;">Click</a></br />
- google.com <a href="#" onclick="setCookie('google.com', 'google'); showCookie(); return false;">Click</a></br />
- .google.com <a href="#" onclick="setCookie('.google.com', '.google'); showCookie(); return false;">Click</a></br />
- 127.0.0.1 <a href="#" onclick="setCookie('127.0.0.1', 'localhost'); showCookie(); return false;">Click</a></br />
- localhost:3001 <a href="#" onclick="setCookie('mency.ad.corp.google.com:62210', 'with_port'); showCookie(); return false;">Click</a></br />
- .google:3001 <a href="#" onclick="setCookie('.google.com:62210', 'with_domain_and_port'); showCookie(); return false;">Click</a></br />
- 172.16.12.225 <a href="#" onclick="setCookie('172.16.12.225', 'raw_IP'); showCookie(); return false;">Click</a></br />
- 172.16.12.225:port <a href="#" onclick="setCookie('172.16.12.225:62210', 'raw_IP_and_port'); showCookie(); return false;">Click</a></br />
- <a href="#" onclick="document.cookie = 'foo=bar;path=/common/galaxy';">Set on a different path</a>
-
-<div id="result"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698