[Webkit-unassigned] [Bug 217629] Add a property on WKWebView to determine if it is being inspected by Web Inspector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 12 14:19:26 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217629
Devin Rousso <drousso at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drousso at apple.com
--- Comment #4 from Devin Rousso <drousso at apple.com> ---
Comment on attachment 411149
--> https://bugs.webkit.org/attachment.cgi?id=411149
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=411149&action=review
> Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:579
> + at property (nonatomic, readonly) BOOL _isBeingInspected WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
I'd put this right above the `_inspector`, as that will cover both macOS and iOS
I'd do the same with the implementation in `Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm` too
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201012/c48bfed5/attachment-0001.htm>
More information about the webkit-unassigned
mailing list