Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / resources / window-permission-detached-context.html
blob3ebc140b729a917686b6cd75d324cdeaee5b76f7
1 <!doctype html>
2 <html>
3 <head>
4 <title>Notifications: Document for posting lifetime events of this page in a window.</title>
5 </head>
6 <body>
7 <script>
8 opener.postMessage('opened', '*');
10 window.addEventListener('unload', function() {
11 opener.postMessage('closed', '*');
12 });
13 </script>
14 </body>
15 </html>