diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-13 18:22:11 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-24 22:58:37 +0100 |
commit | 4817b7c6230c7aca22d5f1df2d93001cf56ee583 (patch) | |
tree | f9df5c0459b8957b944f97c8afd6060e239458cd /Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h | |
parent | 488a97930678d36ae17ea7d7e9460bed726d44a3 (diff) | |
download | serenity-4817b7c6230c7aca22d5f1df2d93001cf56ee583.zip |
LibWeb: Add policy container to {Window,Worker}EnvironmentSettingsObject
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h b/Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h index e2e2ba6dc9..8226d2557d 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h +++ b/Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h @@ -46,12 +46,14 @@ public: String api_url_character_encoding() override { return m_api_url_character_encoding; } AK::URL api_base_url() override { return m_url; } Origin origin() override { return m_origin; } + PolicyContainer policy_container() override { return m_policy_container; } CanUseCrossOriginIsolatedAPIs cross_origin_isolated_capability() override { TODO(); } private: String m_api_url_character_encoding; AK::URL m_url; HTML::Origin m_origin; + HTML::PolicyContainer m_policy_container; }; } |