Bug 239560

Summary: Address recent deprecation warnings on iOS
Product: WebKit Reporter: Megan Gardner <megan_gardner>
Component: New BugsAssignee: Megan Gardner <megan_gardner>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Description Megan Gardner 2022-04-20 12:54:33 PDT
Move off of depricated methods and add allow deprication for harder to refector code.
Comment 1 Megan Gardner 2022-04-20 12:55:50 PDT
Created attachment 458005 [details]
Patch
Comment 2 Wenson Hsieh 2022-04-20 13:07:58 PDT
Comment on attachment 458005 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=458005&action=review

> Source/WebKit/ChangeLog:3
> +        Move off of depricated methods and add allow deprication for harder to refector code.

Nit - Spelling errors, but I would also just change this to something like:

"Address recent deprecation warnings on iOS"

> Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:288
> +    //[item setDontDismiss:!_customMenuActionInfo->dismissesAutomatically];

It's not clear to me why this is going away. IIRC, the layout test that uses this bit checks that the WebKit client can install a custom action in the callout bar that is configured to not dismiss the callout bar when activated (this simulates what Mail on iOS does in compose).
Comment 3 Megan Gardner 2022-04-20 14:03:18 PDT
Created attachment 458012 [details]
Patch
Comment 4 Megan Gardner 2022-04-20 14:08:27 PDT
Created attachment 458013 [details]
Patch for landing
Comment 5 EWS 2022-04-20 14:44:10 PDT
Committed r293117 (249823@main): <https://commits.webkit.org/249823@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458013 [details].
Comment 6 Radar WebKit Bug Importer 2022-04-20 14:45:14 PDT
<rdar://problem/92052936>
Comment 7 Simon Fraser (smfr) 2022-04-20 20:34:26 PDT
This broke internal iOS builds against 15.4 SDKs
Comment 8 Wenson Hsieh 2022-04-20 20:58:13 PDT
(In reply to Simon Fraser (smfr) from comment #7)
> This broke internal iOS builds against 15.4 SDKs

Landed https://trac.webkit.org/r293142