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..45b8a50a595f0de283745e56fa275284f261b02f |
--- /dev/null |
+++ b/chrome/test/data/fast_tab_close/unload_sets_cookie.html |
@@ -0,0 +1,18 @@ |
+<!-- |
+// Copyright 2013 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> |