summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/web-bundle/resources/location
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/web-bundle/resources/location')
-rw-r--r--testing/web-platform/tests/web-bundle/resources/location/location.html2
-rw-r--r--testing/web-platform/tests/web-bundle/resources/location/location.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/web-bundle/resources/location/location.html b/testing/web-platform/tests/web-bundle/resources/location/location.html
new file mode 100644
index 0000000000..e272dad23d
--- /dev/null
+++ b/testing/web-platform/tests/web-bundle/resources/location/location.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<script src="./location.js"></script>
diff --git a/testing/web-platform/tests/web-bundle/resources/location/location.js b/testing/web-platform/tests/web-bundle/resources/location/location.js
new file mode 100644
index 0000000000..a1dbba7366
--- /dev/null
+++ b/testing/web-platform/tests/web-bundle/resources/location/location.js
@@ -0,0 +1,2 @@
+
+window.opener.postMessage({location: location.href}, '*');