summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-10-13 18:22:11 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-24 22:58:37 +0100
commit4817b7c6230c7aca22d5f1df2d93001cf56ee583 (patch)
treef9df5c0459b8957b944f97c8afd6060e239458cd /Userland/Libraries/LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h
parent488a97930678d36ae17ea7d7e9460bed726d44a3 (diff)
downloadserenity-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.h2
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;
};
}