mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 01:32:14 -05:00
LibURL: Fix method name in debug logging
This commit is contained in:
parent
d9927d128c
commit
d161602b6d
Notes:
github-actions[bot]
2024-08-06 22:09:29 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/d161602b6d2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/987 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 2 additions and 2 deletions
|
@ -793,7 +793,7 @@ ErrorOr<String> Parser::percent_encode_after_encoding(StringView input, PercentE
|
|||
// NOTE: This parser assumes a UTF-8 encoding.
|
||||
URL Parser::basic_parse(StringView raw_input, Optional<URL> const& base_url, Optional<URL> url, Optional<State> state_override)
|
||||
{
|
||||
dbgln_if(URL_PARSER_DEBUG, "URL::Parser::parse: Parsing '{}'", raw_input);
|
||||
dbgln_if(URL_PARSER_DEBUG, "URL::Parser::basic_parse: Parsing '{}'", raw_input);
|
||||
if (raw_input.is_empty())
|
||||
return base_url.has_value() ? *base_url : URL {};
|
||||
|
||||
|
@ -1729,7 +1729,7 @@ URL Parser::basic_parse(StringView raw_input, Optional<URL> const& base_url, Opt
|
|||
}
|
||||
|
||||
url->m_data->valid = true;
|
||||
dbgln_if(URL_PARSER_DEBUG, "URL::Parser::parse: Parsed URL to be '{}'.", url->serialize());
|
||||
dbgln_if(URL_PARSER_DEBUG, "URL::Parser::basic_parse: Parsed URL to be '{}'.", url->serialize());
|
||||
|
||||
// 10. Return url.
|
||||
return url.release_value();
|
||||
|
|
Loading…
Reference in a new issue