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

Unified Diff: chrome/test/data/setcookie.html

Issue 3050018: New PyAuto tests for cookies. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Nits Created 10 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 | « no previous file | chrome/test/functional/cookies.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/setcookie.html
diff --git a/chrome/test/data/setcookie.html b/chrome/test/data/setcookie.html
new file mode 100644
index 0000000000000000000000000000000000000000..b07e113672b96a53bf106eb5515bbc1842aa26dc
--- /dev/null
+++ b/chrome/test/data/setcookie.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<title>This page sets a cookie</title>
+<script type="text/javascript">
+function makeCookie()
+{
+ expireAt = new Date;
+ expireAt.setMonth(expireAt.getMonth() + 3);
+ username = "Good";
+ document.cookie = "name=" + username + ";expires=" + expireAt.toGMTString()
+}
+</script>
+</head>
+<body onLoad="makeCookie()">
+</body>
+</html>
« no previous file with comments | « no previous file | chrome/test/functional/cookies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698