WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
276211
[macOS] Avoid extraneous respondsToSelector call for sharing feature shipping since before macOS 11
https://bugs.webkit.org/show_bug.cgi?id=276211
Summary
[macOS] Avoid extraneous respondsToSelector call for sharing feature shipping...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-07-03 16:49:12 PDT
<
rdar://problem/131085950
>
Brent Fulgham
Comment 2
2024-07-03 16:56:39 PDT
PR:
https://github.com/WebKit/WebKit/pull/30474
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.
Top of Page
Format For Printing
XML
Clone This Bug