blob: 20a5ab4b2924813c615e053145913e62f31e0014 [file] [log] [blame]
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
promise_test(t => {
return fetch("https://{{domains[www]}}:0/", {mode: "cors"}).catch(_ => {});
}, "Chromium doesn't crash when requesting URLs with an explicit 0 port value from HTTPS pages.");
</script>