summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/dom-level0/framed_location.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/dom-level0/framed_location.html')
-rw-r--r--dom/tests/mochitest/dom-level0/framed_location.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/tests/mochitest/dom-level0/framed_location.html b/dom/tests/mochitest/dom-level0/framed_location.html
new file mode 100644
index 000000000..a2b65906f
--- /dev/null
+++ b/dom/tests/mochitest/dom-level0/framed_location.html
@@ -0,0 +1,11 @@
+<script>
+ window.parent.postMessage({
+ "hash": window.location.hash,
+ "host": window.location.host,
+ "hostname": window.location.hostname,
+ "origin": window.location.origin,
+ "pathname": window.location.pathname,
+ "port": window.location.port,
+ "protocol": window.location.protocol,
+ }, "*");
+</script>