summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/fetch/hsts/realindex.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/test/fetch/hsts/realindex.html')
-rw-r--r--dom/serviceworkers/test/fetch/hsts/realindex.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/serviceworkers/test/fetch/hsts/realindex.html b/dom/serviceworkers/test/fetch/hsts/realindex.html
new file mode 100644
index 0000000000..e7d282fe83
--- /dev/null
+++ b/dom/serviceworkers/test/fetch/hsts/realindex.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<script>
+ var securityInfoPresent = !!SpecialPowers.wrap(window).docShell.currentDocumentChannel.securityInfo;
+ window.parent.postMessage({status: "protocol",
+ data: location.protocol,
+ securityInfoPresent},
+ "*");
+</script>