Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: chrome/test/data/fast_tab_close/unload_sets_cookie.html

Issue 11016023: Quickly close tabs/window with long-running unload handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make UnloadDetachedHandler a delegate for all detached tabs. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 -->
6 <html>
7 <head>
8 <title>unload_sets_cookie</title>
9 <script>
10 addEventListener("unload", function() {
11 var expires = new Date();
12 expires.setMinutes(expires.getMinutes() + 1);
13 document.cookie = "unloaded=ohyeah;path=/;expires=" + expires.toUTCString();
14 }, false);
15 </script>
16 </head>
17 <body></body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698