1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
content / test / data / back_forward_cache / page_with_broadcastchannel_sender.html [blame]
<html>
<title>BroadcastChannel test</title>
</html>
<script>
let sender;
function acquireBroadcastChannel() {
sender = new BroadcastChannel('foo');
}
function sendMessageOnce() {
sender.postMessage('hello');
}
</script>