diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-11-15 01:53:22 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-15 21:48:19 +0000 |
commit | efe94d9040a43e3c730688121666dff7beda47f4 (patch) | |
tree | c492d76caa8d8d52113b2bcee2269958b25ab3a8 /Userland/Libraries/LibWeb/HTML/Scripting/Environments.h | |
parent | f69c13579688371f267d4eb4d38d6efcb3e69a80 (diff) | |
download | serenity-efe94d9040a43e3c730688121666dff7beda47f4.zip |
LibWeb: Support parsing a URL relative to environment settings object
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Scripting/Environments.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Scripting/Environments.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/Environments.h b/Userland/Libraries/LibWeb/HTML/Scripting/Environments.h index f86932b149..cccfe524e1 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/Environments.h +++ b/Userland/Libraries/LibWeb/HTML/Scripting/Environments.h @@ -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(); |