summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html')
-rw-r--r--testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html b/testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html
new file mode 100644
index 000000000..8c106ca88
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html
@@ -0,0 +1,8 @@
+<script>
+ addEventListener("storage", function(e) {
+ if(e.newValue === "close") {
+ close()
+ }
+ })
+ localStorage.setItem("window" + location.hash.slice(1), "tralala")
+</script>