Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 419feaaed2fcebb1dce83c4fd737c330807d86ac
https://github.com/WebKit/WebKit/commit/419feaaed2fcebb1dce83c4fd737c330807d86ac
Author: Sihui Liu <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurity.mm
Log Message:
-----------
[Site Isolation] Fix
EnhancedSecurity.WindowOpenNoopenerFromEnhancedSecurityWithStandardViaDelegate
https://bugs.webkit.org/show_bug.cgi?id=310000
rdar://172640257
Reviewed by Rupin Mittal and Per Arne Vollan.
The test currently updates _enhancedSecurityEnabled preference at navigation
time. However, in existing implementation,
the initial process for target site is launched at WebView's creation time. As
mentioned in 306717@main, once there is
a process for the target site in browsing context group, the navigation will
use that process for navigation and ignore
the new setting. To make the test work with and without Site Isolation, update
the _enhancedSecurityEnabled preference
at view creation time instead.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurity.mm:
(TestWebKitAPI::TEST(EnhancedSecurity,
WindowOpenNoopenerFromStandardWithEnhancedSecurityViaDelegate)):
(TestWebKitAPI::TEST(EnhancedSecurity,
WindowOpenNoopenerFromEnhancedSecurityWithStandardViaDelegate)):
Canonical link: https://commits.webkit.org/309340@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications