UNPKG
@webcomponents/custom-elements
Version:
latest (1.6.0)
rc (1.0.0-rc.5)
1.6.0
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.4
1.0.3
1.0.2
1.0.0
1.0.0-rc.5
1.0.0-rc.3
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
HTML Custom Elements Polyfill
webcomponents.org/polyfills
webcomponents/custom-elements
@webcomponents/custom-elements
/
tests
/
chromium
/
resources
/
window-postmessage-open-close.html
10 lines
(9 loc)
•
221 B
HTML
View Raw
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE
html
>
<!-- Used when testing access of a closed/detached window's properties -->
<
html
>
<
body
onunload
=
"opener.postMessage('closed', '*');"
>
<
script
>
opener.
postMessage
(
"opened"
,
"*"
);
</
script
>
</
body
>
</
html
>