1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibWeb: Support parsing a URL relative to environment settings object

This commit is contained in:
Idan Horowitz 2022-11-15 01:53:22 +02:00 committed by Linus Groh
parent f69c135796
commit efe94d9040
2 changed files with 18 additions and 0 deletions

View file

@ -85,6 +85,8 @@ struct EnvironmentSettingsObject
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-cross-origin-isolated-capability
virtual CanUseCrossOriginIsolatedAPIs cross_origin_isolated_capability() = 0;
AK::URL parse_url(StringView);
JS::Realm& realm();
JS::Object& global_object();
EventLoop& responsible_event_loop();