Files
ladybird/Tests/LibWeb/Text/input/URL/url-origin-for-port-number-of-zero.html
Shannon Booth 088b659abd LibURL: Do not treat port of 0 as a null port in Origin
It is not treated as the same thing in the specification, or by us in
other places too. This fixes 8 more origin related URL tests on WPT.
2024-10-05 10:46:30 +02:00

8 lines
166 B
HTML

<a id="a" href='http://f:0/c'>
<script src="../include.js"></script>
<script>
test(() => {
println(document.getElementById("a").origin);
})
</script>