mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
AK: Correctly set host when parsing URL with a base file:// host
We were completely missing this spec step here. Also leave a FIXME for the pre-existing implementation of this step, as this doesn't match the spec.
This commit is contained in:
parent
791ad12031
commit
bfdf7779ce
3 changed files with 14 additions and 0 deletions
|
@ -58,3 +58,13 @@ port => ''
|
|||
pathname => '/cat'
|
||||
search => '?dog'
|
||||
hash => '#meow%22woof'
|
||||
new URL('/hello', 'file://friends/')
|
||||
protocol => 'file:'
|
||||
username => ''
|
||||
password => ''
|
||||
host => 'friends'
|
||||
hostname => 'friends'
|
||||
port => ''
|
||||
pathname => '/hello'
|
||||
search => ''
|
||||
hash => ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue