Index: chrome/test/data/fast_tab_close/unload_sets_cookie.html |
diff --git a/chrome/test/data/fast_tab_close/unload_sets_cookie.html b/chrome/test/data/fast_tab_close/unload_sets_cookie.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..347a77a866666c67b4073624f60ce955f56ef0b3 |
--- /dev/null |
+++ b/chrome/test/data/fast_tab_close/unload_sets_cookie.html |
@@ -0,0 +1,18 @@ |
+<!-- |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+--> |
+<html> |
+<head> |
+ <title>unload_sets_cookie</title> |
+<script> |
+addEventListener("unload", function() { |
+ var expires = new Date(); |
+ expires.setMinutes(expires.getMinutes() + 1); |
+ document.cookie = "unloaded=ohyeah;path=/;expires=" + expires.toUTCString(); |
+}, false); |
+</script> |
+</head> |
+<body></body> |
+</html> |