blob: 8d37dbf7ed4d599b72987e99f93000a8db21ee68 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
partitionedChannel = new BroadcastChannel("broadcastchannel-partitioning-with-storage-access");
partitionedChannel.postMessage("same-origin-iframe-under-cross-origin-popup-without-storage-access-1");
internals.withUserGesture(() => {
document.requestStorageAccess().then(() => {
unpartitionedChannel = new BroadcastChannel("broadcastchannel-partitioning-with-storage-access");
unpartitionedChannel.postMessage("same-origin-iframe-under-cross-origin-popup-with-storage-access");
partitionedChannel.postMessage("same-origin-iframe-under-cross-origin-popup-without-storage-access-2");
});
});
</script>
</body>
</html>