mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
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.
This commit is contained in:
parent
501f92b54e
commit
088b659abd
Notes:
github-actions[bot]
2024-10-05 08:47:26 +00:00
Author: https://github.com/shannonbooth
Commit: 088b659abd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1636
6 changed files with 26 additions and 13 deletions
|
@ -0,0 +1,7 @@
|
|||
<a id="a" href='http://f:0/c'>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println(document.getElementById("a").origin);
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue