blob: aa92965f70e263d72d4310bb67894548fc353dd2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
let bc = new BroadcastChannel("broadcastchannel-partitioning");
if (location.origin == "http://127.0.0.1:8000")
bc.postMessage("same-origin-popup");
else
bc.postMessage("cross-origin-popup");
</script>
<iframe src="http://localhost:8000/messaging/resources/broadcastchannel-partitioning-iframe.html"></iframe>
<iframe src="http://127.0.0.1:8000/messaging/resources/broadcastchannel-partitioning-iframe.html"></iframe>
</body>
</html>