repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
notifications
/
resources
/
window-permission-detached-context.html
blob
3ebc140b729a917686b6cd75d324cdeaee5b76f7
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'
,
'*'
);
9
10
window
.
addEventListener
(
'unload'
,
function
() {
11
opener
.
postMessage
(
'closed'
,
'*'
);
12
});
13
</script>
14
</body>
15
</html>