Selaa lähdekoodia

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.
Andreas Kling 2 vuotta sitten
vanhempi
commit
51d7ea7ece

+ 1 - 1
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;
 }
 
 }