This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Web Inspector: No search results
https://bugs.webkit.org/show_bug.cgi?id=259843 Reviewed by Devin Rousso. Web Inspector search is not working due to _inputFieldSearch(event) not being triggered. Replace incremental with throttle and replace "search" with "input". Import Throttler class to add _inputFieldInputThrottler function to handle throttler for "input" using fire function. Incorporate 250 ms delay. In _inputFieldKeyDown use findBannerRevealPreviousResult and findBannerRevealNextResult for shift and enter key presses replacing _searchBackwards and _searchForwards. Delete _inputFieldKeyUp. Delete _searchBackwards and _searchForwards in _inputFieldInput(event). * Source/WebInspectorUI/UserInterface/Views/FindBanner.js: (WI.FindBanner.prototype._inputFieldKeyDown): (WI.FindBanner.prototype._inputFieldInput): (WI.FindBanner.prototype._inputFieldKeyUp): Deleted. (WI.FindBanner.prototype._inputFieldSearch): Deleted. Canonical link: https://commits.webkit.org/266783@main
- Loading branch information
Showing 1 changed file with 13 additions and 26 deletions.