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
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
<rdar://problem/131085950>
Brent Fulgham
PR: https://github.com/WebKit/WebKit/pull/30474
EWS
Committed 280756@main (ccf89c99d98b): <https://commits.webkit.org/280756@main>
Reviewed commits have been landed. Closing PR #30474 and removing active labels.