Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 425dd892bc84f29c6601f82f32ace002df93e1ae
https://github.com/WebKit/WebKit/commit/425dd892bc84f29c6601f82f32ace002df93e1ae
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M Tools/MiniBrowser/mac/WK2BrowserWindowController.m
Log Message:
-----------
REGRESSION(315650@main): Broke MiniBrowser WK2 window in CMake macOS 27 port
(no NSRefreshControlHosting conformance found)
https://bugs.webkit.org/show_bug.cgi?id=317880
rdar://180662875
Reviewed by Pascoe, Sammy Gill, and Alex Christensen.
The CMake macOS 27 port does not currently build many Swift files, one
of which is WKWebView+RefreshControl.swift. As such, AppKit thinks
WKWebView does not have conformance to NSRefreshControlHosting, and as
such throws an exception during WK2BrowserWindowController launch.
In this patch, we work around the exception by gating the refresh
control install on the web view behind a protocol conformance check.
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController awakeFromNib]):
Canonical link: https://commits.webkit.org/315851@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications