<!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>
