Created attachment 255685 [details] Animated GIF of the problem :(
<rdar://problem/21576867>
Created attachment 255687 [details] Reduction Steps: 1. Open click.html 2. Enter "dir({clicked})" 3. Right-click "clicked" and select "Jump to Definition" from the context menu. Expected: click.html opens in the debugger or resources tab with the "function clicked() {" line highlighted. Actual: Nothing happens.
Should be as easy as making WebInspector.ObjectTreeBaseTreeElement.prototype._appendMenusItemsForObject's WebInspector.showSourceCodeLocation(sourceCodeLocation) include the second parameter that forces switching tabs. We get the right location.
Created attachment 255765 [details] [PATCH] Proposed Fix
Comment on attachment 255765 [details] [PATCH] Proposed Fix Clearing flags on attachment: 255765 Committed r186080: <http://trac.webkit.org/changeset/186080>
All reviewed patches have been landed. Closing bug.