Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /https-upgrades/tentative/upgrade.https.sub.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>HTTPS Upgrades: Upgrade.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
</head>
<body>
<script>
setup({ single_test: true });
// HTTPS upgrades don't change custom ports, so this will load correctly if an HTTPS upgrade is performed,
// and will fail to load otherwise (since the port will be wrong for http).
window.onmessage = function(event) {
if (event.data === "pass") {
done();
}
}
win = window.open(url)
</script>
</body>
</html>