mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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:
Notes:
sideshowbarker
2024-07-17 06:45:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/51d7ea7ece
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user