summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/windows/resources/window-opener.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/windows/resources/window-opener.html')
-rw-r--r--testing/web-platform/tests/html/browsers/windows/resources/window-opener.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/windows/resources/window-opener.html b/testing/web-platform/tests/html/browsers/windows/resources/window-opener.html
new file mode 100644
index 0000000000..c734eb3056
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/windows/resources/window-opener.html
@@ -0,0 +1,4 @@
+<script>
+ localStorage.setItem("opener", window.opener)
+ window.close()
+</script>