Bug 243101 - [iOS 16] Simplify test infrastructure around observing edit menu appearance and dismissal
Summary: [iOS 16] Simplify test infrastructure around observing edit menu appearance a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-22 10:01 PDT by Wenson Hsieh
Modified: 2022-07-22 13:48 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>