mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
AK: Rename URLParser::parse to URLParser::basic_parse
To make it more clear that this function implements 'concept-basic-url-parser' instead of 'concept-url-parser'.
This commit is contained in:
committed by
Andreas Kling
parent
6fecd8cc44
commit
5625ca5cb9
@@ -312,7 +312,7 @@ WebIDL::ExceptionOr<void> Location::set_hash(String const& value)
|
||||
copy_url.set_fragment("");
|
||||
|
||||
// 6. Basic URL parse input, with copyURL as url and fragment state as state override.
|
||||
auto result_url = URLParser::parse(input, {}, copy_url, URLParser::State::Fragment);
|
||||
auto result_url = URLParser::basic_parse(input, {}, copy_url, URLParser::State::Fragment);
|
||||
|
||||
// 7. If copyURL's fragment is this's url's fragment, then return.
|
||||
if (copy_url.fragment() == this->url().fragment())
|
||||
|
||||
Reference in New Issue
Block a user