diff --git a/Tests/LibWeb/Text/expected/URL/url.txt b/Tests/LibWeb/Text/expected/URL/url.txt index dcb44a8f2e..05ea1e7f99 100644 --- a/Tests/LibWeb/Text/expected/URL/url.txt +++ b/Tests/LibWeb/Text/expected/URL/url.txt @@ -7,6 +7,7 @@ hostname => 'serenityos.org' port => '' pathname => '/' search => '' +hash => '' http://[0:1:0:1:0:1:0:1] protocol => 'http:' username => '' @@ -16,6 +17,7 @@ hostname => '[0:1:0:1:0:1:0:1]' port => '' pathname => '/' search => '' +hash => '' http://[1:0:1:0:1:0:1:0] protocol => 'http:' username => '' @@ -25,6 +27,7 @@ hostname => '[1:0:1:0:1:0:1:0]' port => '' pathname => '/' search => '' +hash => '' http://[1:1:0:0:1:0:0:0]/ protocol => 'http:' username => '' @@ -34,6 +37,7 @@ hostname => '[1:1:0:0:1::]' port => '' pathname => '/' search => '' +hash => '' unknown://serenityos.org:0 protocol => 'unknown:' username => '' @@ -43,3 +47,4 @@ hostname => 'serenityos.org' port => '0' pathname => '' search => '' +hash => '' diff --git a/Tests/LibWeb/Text/input/URL/url.html b/Tests/LibWeb/Text/input/URL/url.html index 1f17dc7738..2131563357 100644 --- a/Tests/LibWeb/Text/input/URL/url.html +++ b/Tests/LibWeb/Text/input/URL/url.html @@ -12,6 +12,7 @@ println(`port => '${url.port}'`); println(`pathname => '${url.pathname}'`); println(`search => '${url.search}'`); + println(`hash => '${url.hash}'`); } for (url of [