1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 23:14:59 +00:00

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
parent 6c33dea6a6
commit 51d7ea7ece

View file

@ -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;
}
}