Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b920c9fb0198dbe67b0aaff251dd078c3cfbaa17 https://github.com/WebKit/WebKit/commit/b920c9fb0198dbe67b0aaff251dd078c3cfbaa17 Author: Pascoe <pas...@apple.com> Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths: M Source/WebCore/page/DebugOverlayRegions.h M Source/WebCore/page/DebugPageOverlays.cpp M Source/WebCore/page/DebugPageOverlays.h M Source/WebCore/rendering/RenderLayerBacking.cpp M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp M Tools/MiniBrowser/mac/SettingsController.h M Tools/MiniBrowser/mac/SettingsController.m M Tools/MiniBrowser/mac/WK2BrowserWindowController.m Log Message: ----------- Create debug overlay for Site Isolation https://bugs.webkit.org/show_bug.cgi?id=272908 rdar://problem/126701278 Reviewed by Alex Christensen. This change creates a debug overlay for identifying frames and if they are either local or remote. This is useful for matching what frames are what when debugging sites with i-frames with site isolation on. Currently this only draws for the local main frame and that process's view of the other frames. Once we can support view overlays in i-frame processes this can be expanded to show the current hosting process of each remote i-frame. * Source/WebCore/page/DebugOverlayRegions.h: * Source/WebCore/page/DebugPageOverlays.cpp: (WebCore::SiteIsolationOverlay::updateRegion): (WebCore::SiteIsolationOverlay::drawRect): (WebCore::SiteIsolationOverlay::mouseEvent): (WebCore::RegionOverlay::create): (WebCore::DebugPageOverlays::updateOverlayRegionVisibility): * Source/WebCore/page/DebugPageOverlays.h: (WebCore::DebugPageOverlays::didLayout): (WebCore::DebugPageOverlays::didChangeEventHandlers): (WebCore::DebugPageOverlays::doAfterUpdateRendering): * Source/WebCore/rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::paintContents): * Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h: * Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::attachViewOverlayGraphicsLayer): * Tools/MiniBrowser/mac/SettingsController.h: * Tools/MiniBrowser/mac/SettingsController.m: (-[SettingsController _populateMenu:]): (-[SettingsController validateMenuItem:]): (-[SettingsController preferenceKeyForRegionOverlayTag:]): (-[SettingsController toggleSiteIsolationOverlay:]): (-[SettingsController siteIsolationOverlayEnabled]): (-[SettingsController siteIsolationOverlayVisible:]): * Tools/MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController didChangeSettings]): Canonical link: https://commits.webkit.org/277703@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes