Bug 243101

Summary: [iOS 16] Simplify test infrastructure around observing edit menu appearance and dismissal
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: Tools / TestsAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Wenson Hsieh 2022-07-22 10:01:19 PDT
We currently swizzle some UIKit delegate method implementations (on internal UIKit objects), in order to observe when the edit menu (formerly — callout bar) is presented or dismissed.

UIKit just recently added rdar://94043113, which makes it possible to achieve this without having to swizzle. Let's adopt this API method (and also work towards rdar://96239605, while we're at it).
Comment 1 Wenson Hsieh 2022-07-22 10:08:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2659
Comment 2 EWS 2022-07-22 13:47:19 PDT
Committed 252742@main (8641efca8a22): <https://commits.webkit.org/252742@main>

Reviewed commits have been landed. Closing PR #2659 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-07-22 13:48:16 PDT
<rdar://problem/97454308>