1
0
Fork 0
firefox/dom/security/test/mixedcontentblocker/file_auth_download_page.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

22 lines
629 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Test mixed content download with auth header by https-first</title>
</head>
<body>
hi
<script>
const host = window.location.host;
const path = location.pathname.replace("file_auth_download_page.html","file_auth_download_server.sjs");
const insecureLink = document.createElement("a");
insecureLink.href = `http://${host}${path}?user=user&pass=pass`;
insecureLink.download = "true";
insecureLink.id = "insecure";
insecureLink.textContent = "Not secure Link";
document.body.append(insecureLink);
</script>
</body>
</html>