blob: f57d582bbb878ceb7ebd8d962d5d4293b736b4c4 (
plain)
1
2
3
4
5
6
7
8
|
<script>
const bc1 = new BroadcastChannel("ladila"),
bc2 = new BroadcastChannel("ladila");
bc2.onmessage = e => {
parent.postMessage(e.origin, "*");
}
bc1.postMessage("does not matter");
</script>
|