Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / fast_shutdown / on_unloader.html
blob45fb103255c773f34716272a40ee41035b3b7525
1 <script>
2 addEventListener("unload", function() {
3 var expires = new Date();
4 expires.setMinutes(expires.getMinutes() + 1);
5 document.cookie = "unloaded=ohyeah;path=/;expires=" + expires.toUTCString();
6 }, false);
7 open('on_before_unloader.html');
8 </script>