Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / test / data / onunload_cookie.html
blob0a7de8d5263bd1450f8eb79c68e01138affca4b9
1 <html>
2 <head>
3 <title>Loading...</title>
4 </head>
5 <body onload="attachUnloadListener()">
6 <script>
7 function attachUnloadListener() {
8 window.addEventListener('unload', onUnload, false);
9 document.title = "set cookie on unload";
12 function onUnload() {
13 document.cookie = "onunloadCookie=foo";
15 </script>
16 <p>Navigate to another page to set cookie</p>
17 </body>
18 </html>