diff options
Diffstat (limited to '')
-rw-r--r-- | docshell/test/navigation/file_sessionstorage_across_coop.html | 12 | ||||
-rw-r--r-- | docshell/test/navigation/file_sessionstorage_across_coop.html^headers^ | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docshell/test/navigation/file_sessionstorage_across_coop.html b/docshell/test/navigation/file_sessionstorage_across_coop.html new file mode 100644 index 0000000000..44489b9e2f --- /dev/null +++ b/docshell/test/navigation/file_sessionstorage_across_coop.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> + <body> + <script> + addEventListener("load", () => { + let bc = new BroadcastChannel("testChannel"); + bc.postMessage(sessionStorage.getItem("testItem")); + window.close(); + }); + </script> + </body> +</html> diff --git a/docshell/test/navigation/file_sessionstorage_across_coop.html^headers^ b/docshell/test/navigation/file_sessionstorage_across_coop.html^headers^ new file mode 100644 index 0000000000..46ad58d83b --- /dev/null +++ b/docshell/test/navigation/file_sessionstorage_across_coop.html^headers^ @@ -0,0 +1 @@ +Cross-Origin-Opener-Policy: same-origin |