Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION (278619@main): [iOS] TestWebKitAPI.WKWebExtensionAPIComman…
…ds.PerformKeyCommand is timing out rdar://127902100 https://bugs.webkit.org/show_bug.cgi?id=274022 Reviewed by Brian Weinstein. Updated the unit test for performing key command for web extensions. The key command will never be a firstResponder so it is incorrect to try to fire the keyCommand object directly. Instead, do what the client firstResponder would do: invoke -performCommandForKeyCommand: on the context object. * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPICommands.mm: (TestWebKitAPI::TEST(WKWebExtensionAPICommands, PerformKeyCommand)): Canonical link: https://commits.webkit.org/278721@main
- Loading branch information