summaryrefslogtreecommitdiffstats
path: root/dom/security/test/https-first/file_slow_download.html
blob: 084977607d72687f227d05cec0bb34491bef77e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>