Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8d76f25de35b6fe848600c12afa50ff953cdd85d
https://github.com/WebKit/WebKit/commit/8d76f25de35b6fe848600c12afa50ff953cdd85d
Author: Zak Ridouh <[email protected]>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.swift
Log Message:
-----------
[Swift Testing] Add a helper for a web view with or without site isolation
https://bugs.webkit.org/show_bug.cgi?id=327188
rdar://189770575
Reviewed by Richard Robinson.
siteIsolatedWebViewAndDelegate always enables site isolation, so a Swift test
that compares a page with and
without it, as several Objective-C ones do with viewAndDelegate, had no helper
for the second case. Add
webViewAndDelegate(configuration:frame:siteIsolationEnabled:), which sets the
preference either way, and build
siteIsolatedWebViewAndDelegate on it.
No new tests; a following change uses the helper.
* Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.swift:
(siteIsolatedWebViewAndDelegate(configuration:frame:)):
(webViewAndDelegate(configuration:frame:siteIsolationEnabled:)):
Canonical link: https://commits.webkit.org/323518@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications