| 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>
|
|
|