Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
external
/
wpt
/
portals
/
resources
/
portal-activate-broadcastchannel.html
blob: b922afaec26333b1b7f96276f5a0e59e1c8d1929 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<script>
onportalactivate
=
e
=>
{
let bc
=
new
BroadcastChannel
(
new
URL
(
location
).
searchParams
.
get
(
'bc'
));
bc
.
postMessage
({
event
:
'portalactivate'
,
data
:
e
.
data
});
bc
.
close
();
};
</script>