| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head><title>Persistent host browser chrome frame cookie test page</title> | |
| 3 <script type="text/javascript" | |
| 4 src="chrome_frame_tester_helpers.js"></script> | |
| 5 | |
| 6 <script type="text/javascript"> | |
| 7 | |
| 8 function setPersistentCookieAndRedirect() { | |
| 9 if (isRunningInMSIE()) { | |
| 10 eraseCookie("PersistentCookie1"); | |
| 11 eraseCookie("PersistentCookie2"); | |
| 12 createCookie("PersistentCookie1", "Cookie1", 365); | |
| 13 createCookie("PersistentCookie2", "Cookie2", 365); | |
| 14 document.location = "persistent_cookie_test_final_page.html"; | |
| 15 } else { | |
| 16 onFailure("PersistentCookieTest", 1, "Incorrectly loaded in chrome"); | |
| 17 } | |
| 18 } | |
| 19 </script> | |
| 20 </head> | |
| 21 <body onLoad="setTimeout(setPersistentCookieAndRedirect, 100);"> | |
| 22 <h2>Prepare to be redirected!</h2> | |
| 23 <p>Sets two persistent cookies in the host and redirects ChromeFrame <br /> | |
| 24 to a page which validates the cookies.</p> | |
| 25 </body> | |
| 26 </html> | |
| OLD | NEW |