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