summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-first/file_slow_download.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/https-first/file_slow_download.html')
-rw-r--r--dom/security/test/https-first/file_slow_download.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/security/test/https-first/file_slow_download.html b/dom/security/test/https-first/file_slow_download.html
new file mode 100644
index 0000000000..084977607d
--- /dev/null
+++ b/dom/security/test/https-first/file_slow_download.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Test slow download from an http site that gets upgraded to https</title>
+</head>
+<body>
+ <a href="http://example.com/browser/dom/security/test/https-first/file_slow_download.sjs" download="large-dummy-file.txt" id="testlink">download by attribute</a>
+ <script>
+ // click the link to start download
+ let testlink = document.getElementById("testlink");
+ testlink.click();
+ </script>
+ </body>
+</html>