summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/fetch/hsts/embedder.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/test/fetch/hsts/embedder.html')
-rw-r--r--dom/serviceworkers/test/fetch/hsts/embedder.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/serviceworkers/test/fetch/hsts/embedder.html b/dom/serviceworkers/test/fetch/hsts/embedder.html
new file mode 100644
index 0000000000..ad44809042
--- /dev/null
+++ b/dom/serviceworkers/test/fetch/hsts/embedder.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<script>
+ window.onmessage = function(e) {
+ window.parent.postMessage(e.data, "*");
+ };
+</script>
+<iframe src="http://example.com/tests/dom/serviceworkers/test/fetch/hsts/index.html"></iframe>