From 11acd544631c17cec89f4426a463a62d0600a8f8 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Tue, 28 Jan 2025 10:43:38 +0000 Subject: [PATCH] LibWeb: Change default window ESO crossOriginIsolated value to false This is a safer default value for this property since we don't currently implement the mechanisms required for this value to be true. --- .../LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp b/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp index 6e4f7b9f28d..c81a35e503d 100644 --- a/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp +++ b/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp @@ -130,7 +130,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. - return CanUseCrossOriginIsolatedAPIs::Yes; + return CanUseCrossOriginIsolatedAPIs::No; } }