mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Port EnvironmentSettings URL Parsing to return Optional<URL>
This commit is contained in:
Notes:
github-actions[bot]
2025-02-19 13:03:33 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/2c8dab36f32 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3609 Reviewed-by: https://github.com/trflynn89
@@ -91,8 +91,8 @@ public:
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-time-origin
|
||||
virtual double time_origin() const = 0;
|
||||
|
||||
URL::URL parse_url(StringView);
|
||||
URL::URL encoding_parse_url(StringView);
|
||||
Optional<URL::URL> parse_url(StringView);
|
||||
Optional<URL::URL> encoding_parse_url(StringView);
|
||||
Optional<String> encoding_parse_and_serialize_url(StringView);
|
||||
|
||||
JS::Realm& realm();
|
||||
|
||||
Reference in New Issue
Block a user