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.
This commit is contained in:
Andreas Kling 2022-09-21 01:21:37 +02:00
commit 51d7ea7ece
Notes: sideshowbarker 2024-07-17 06:45:57 +09:00

View file

@ -102,7 +102,7 @@ CanUseCrossOriginIsolatedAPIs WindowEnvironmentSettingsObject::cross_origin_isol
// FIXME: Return true if both of the following hold, and false otherwise: // 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 // 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. // 2. window's associated Document is allowed to use the "cross-origin-isolated" feature.
TODO(); return CanUseCrossOriginIsolatedAPIs::Yes;
} }
} }