diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-21 01:21:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-21 11:51:18 +0200 |
commit | 51d7ea7ecea21cc201e94acbfcb66dd3afa2c5b9 (patch) | |
tree | 0b8337db49413ba4281ea3c1aa9a2e14ac611214 /Userland | |
parent | 6c33dea6a6ee0a417d85ccef07a49b9bbdf1d734 (diff) | |
download | serenity-51d7ea7ecea21cc201e94acbfcb66dd3afa2c5b9.zip |
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.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |