Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestWebKitAPI.SelectionTests.SelectedTextAfterSelectingWordForReplace…
…ment times out on iPhone Simulator https://bugs.webkit.org/show_bug.cgi?id=273736 rdar://127547635 Reviewed by Abrar Rahman Protyasha. Augment the `SelectionChangeListener` helper class to be compatible with the case where WebKit uses BrowserEngineKit's `BETextInput`. Instead of calling directly into `-selection(Will|Did)Change:`, we now call into `-[BETextInputDelegate selection(Will|Did)ChangeForTextInput:]`. * Tools/TestWebKitAPI/Tests/ios/SelectionByWord.mm: (-[SelectionChangeListener selectionWillChangeForTextInput:]): (-[SelectionChangeListener selectionDidChangeForTextInput:]): (-[SelectionChangeListener shouldDeferEventHandlingToSystemForTextInput:context:]): (-[SelectionChangeListener textInput:setCandidateSuggestions:]): (-[SelectionChangeListener textInput:deferReplaceTextActionToSystem:]): (-[SelectionChangeListener invalidateTextEntryContextForTextInput:]): (TEST(SelectionTests, SelectedTextAfterSelectingWordForReplacement)): Canonical link: https://commits.webkit.org/278428@main
- Loading branch information