summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_bug1738418_child.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_bug1738418_child.html')
-rw-r--r--dom/security/test/csp/file_bug1738418_child.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_bug1738418_child.html b/dom/security/test/csp/file_bug1738418_child.html
new file mode 100644
index 0000000000..26e7f8f1f6
--- /dev/null
+++ b/dom/security/test/csp/file_bug1738418_child.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<script type="text/javascript">
+ window.parent.parent.postMessage({
+ element: location.hash.substr(1),
+ domain: document.domain,
+ }, '*');
+</script>
+</body>
+</html>