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

Unified Diff: chrome_frame/test/data/persistent_cookie_test_final_page.html

Issue 3053018: The ChromeFrame persistent cookie test creates persistent cookies and reloads... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_frame/test/data/persistent_cookie_test_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/persistent_cookie_test_final_page.html
===================================================================
--- chrome_frame/test/data/persistent_cookie_test_final_page.html (revision 0)
+++ chrome_frame/test/data/persistent_cookie_test_final_page.html (revision 0)
@@ -0,0 +1,28 @@
+<html>
+ <head>
+ <meta http-equiv="x-ua-compatible" content="chrome=1" />
+ <title>Persistent host browser chrome frame cookie test final page</title>
+ <script type="text/javascript"
+ src="chrome_frame_tester_helpers.js"></script>
+
+ <script type="text/javascript">
+ function validatePersistentCookie() {
+ if (!isRunningInChrome()) {
+ onFailure("PersistentCookieTest", 1, "Not running in Chrome");
+ } else {
+ if (readCookie("PersistentCookie1") != "Cookie1" ||
+ readCookie("PersistentCookie2") != "Cookie2") {
+ onFailure("PersistentCookieTest", 1, "Failed");
+ } else {
+ onSuccess("PersistentCookieTest", 1);
+ }
+ }
+ eraseCookie("PersistentCookie1");
+ eraseCookie("PersistentCookie2");
+ }
+ </script>
+ </head>
+ <body onLoad="validatePersistentCookie();">
+ <h2>Persistent cookie validation page.!</h2>
+ </body>
+</html>
« no previous file with comments | « no previous file | chrome_frame/test/data/persistent_cookie_test_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698