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