------- Inspected URL: any Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/604.1.16+ (KHTML, like Gecko) Uncaught Exceptions: - TypeError: this.delegate.highlightNextSearchMatch is not a function. (In 'this.delegate.highlightNextSearchMatch()', 'this.delegate.highlightNextSearchMatch' is undefined) (at JavaScriptLogViewController.js:260:47) _handleFindNextShortcut @ JavaScriptLogViewController.js:260:47 _handleFindNextShortcut @ [native code] _handleKeyDown @ KeyboardShortcut.js:84:42 ------- * STEPS TO REPRODUCE 1. Go to Console tab 2. Add some results so it's not empty 3. Search for a string with no results using Console find bar 4. Cmd-g => Boom This seems to work as expected if there is a matching search result being highlighted.
<rdar://problem/31481247>
I’m unable to reproduce the bug. Steps I tried: 1. Open https://webkit.org 2. Go to Console tab 3. Type “foo” in the console, press Enter 4. Press Commang-F, type “bar” 5. Press Commang-G Please let me know if I missed something.
I was able to reproduce once. I'm not sure how it happened :) _handleFindNextShortcut() { this.delegate.highlightNextSearchMatch(); } highlightNextSearchMatch is not defined anywhere in Web Inspector front-end.
Steps to reproduce the bug: 1. Go to Console tab 2. Click on the console content view (any message in the console, for example) 3. Press Commang-G this.delegate.highlightNextSearchMatch() was added in 2013 when Web Inspector was open sourced back to WebKit. At some point highlightNextSearchMatch was removed.
By using git log -c -S'highlightNextSearchMatch' -- Source/WebInspectorUI I found out that it was removed in https://bugs.webkit.org/show_bug.cgi?id=164047#c12.
Created attachment 308031 [details] Patch
Comment on attachment 308031 [details] Patch r=me
Comment on attachment 308031 [details] Patch Clearing flags on attachment: 308031 Committed r215795: <http://trac.webkit.org/changeset/215795>
All reviewed patches have been landed. Closing bug.