mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Rename Document::complete_url() => parse_url()
This better matches the spec nomenclature.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 04:22:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e1fb8bef090
@@ -49,7 +49,7 @@ void HTMLIFrameElement::load_src(const String& value)
|
||||
if (value.is_null())
|
||||
return;
|
||||
|
||||
auto url = document().complete_url(value);
|
||||
auto url = document().parse_url(value);
|
||||
if (!url.is_valid()) {
|
||||
dbgln("iframe failed to load URL: Invalid URL: {}", value);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user