Created attachment 120766 [details] context menu example When you right click on an element there is an "Inspect Element" menu item to open the Inspector and bring you to that element in the Elements panel. Illumination does the same sort of thing, but tries to find the best match: ideally some sort of UI widget. But there doesn't seem to be a way to do this in Chrome, etc., like I can in Firefox/Firebug (see example context menu screenshot attached).
I should be clear as to what's needed: an api to open the web inspector and switch to a desired panel (giving that panel information to focus on could be done in a callback when the main method is complete).
This seems to be a platform-specific request, so it should start in crbug.com. In either case, we avoid opening the front-end programmatically for the following reasons: - It increases API surface that can be used by malicious sites / extensions - It increases the risk of the extensions API mis-use where a regular extension (say ad block) might use powerful inspector API via opening the front-end and installing a hook into the page. both scenarios are bad for the users.
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.