Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 701e6aa35a9a17df05b74b0a0707d0e92f764db2
https://github.com/WebKit/WebKit/commit/701e6aa35a9a17df05b74b0a0707d0e92f764db2
Author: Aditya Keerthi <[email protected]>
Date: 2025-06-02 (Mon, 02 Jun 2025)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
M Source/WebKit/UIProcess/Cocoa/WebPageWebView.swift
Log Message:
-----------
[SwiftUI] Add support for visual identification for debugging
https://bugs.webkit.org/show_bug.cgi?id=293910
rdar://152443158
Reviewed by Abrar Rahman Protyasha and Richard Robinson.
Use of `WebView` should be identifiable with "WebView (SwiftUI)" rather than
"WKWebView".
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):
(-[WKWebView _nameForVisualIdentificationOverlay]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:
Implement using an overridable property rather than a delegate method since
the identification view is built at initialization.
* Source/WebKit/UIProcess/Cocoa/WebPageWebView.swift:
(WebPageWebView._nameForVisualIdentificationOverlay):
Canonical link: https://commits.webkit.org/295717@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes