Bug 276211

Summary: [macOS] Avoid extraneous respondsToSelector call for sharing feature shipping since before macOS 11
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2024-07-03 16:46:19 PDT
We perform a selector check on every call to NSSharingService, even though the method being tested has been available since macOS 11 (two releases before our lowest target OS). We should avoid this unnecessary call.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-03 16:49:12 PDT
Brent Fulgham
Comment 2 2024-07-03 16:56:39 PDT
EWS
Comment 3 2024-07-08 15:30:19 PDT
Committed 280756@main (ccf89c99d98b): <https://commits.webkit.org/280756@main> Reviewed commits have been landed. Closing PR #30474 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.