From 51d7ea7ecea21cc201e94acbfcb66dd3afa2c5b9 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 21 Sep 2022 01:21:37 +0200 Subject: [PATCH] LibWeb: Make WESO allow cross-origin isolated APIs for now Instead of panicking in a TODO(), let's just allow them and leave the FIXME's in this function. --- .../LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp index 6e21dd40ca..47978d839b 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp +++ b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp @@ -102,7 +102,7 @@ CanUseCrossOriginIsolatedAPIs WindowEnvironmentSettingsObject::cross_origin_isol // FIXME: Return true if both of the following hold, and false otherwise: // 1. realm's agent cluster's cross-origin-isolation mode is "concrete", and // 2. window's associated Document is allowed to use the "cross-origin-isolated" feature. - TODO(); + return CanUseCrossOriginIsolatedAPIs::Yes; } }