Index: chrome/test/data/onunload_cookie.html |
=================================================================== |
--- chrome/test/data/onunload_cookie.html (revision 148962) |
+++ chrome/test/data/onunload_cookie.html (working copy) |
@@ -1,18 +0,0 @@ |
-<html> |
- <head> |
- <title>Loading...</title> |
- </head> |
- <body onload="attachUnloadListener()"> |
- <script> |
- function attachUnloadListener() { |
- window.addEventListener('unload', onUnload, false); |
- document.title = "set cookie on unload"; |
- } |
- |
- function onUnload() { |
- document.cookie = "onunloadCookie=foo"; |
- } |
- </script> |
- <p>Navigate to another page to set cookie</p> |
- </body> |
-</html> |