Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / fast_tab_close / unload_sets_cookie.html
blob45b8a50a595f0de283745e56fa275284f261b02f
1 <!--
2 // Copyright 2013 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>