Bug 74277 - Search with Google in docked Web Inspector should not replace the inspector itself
Summary: Search with Google in docked Web Inspector should not replace the inspector i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 02:26 PST by kevinn
Modified: 2014-08-03 18:55 PDT (History)
13 users (show)

See Also:


Attachments
Screenshot of google results in docked window. (124.94 KB, image/png)
2011-12-12 02:26 PST, kevinn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kevinn 2011-12-12 02:26:49 PST
Created attachment 118756 [details]
Screenshot of google results in docked window.

Within Safari, I'm having trouble running embedded videos from YouTube. Checking web inspector's console I saw a javascript problem, highlighted the term and searched google for it.

web inspector would open content in the docked window, which should open in a new tab.
Comment 1 Alexey Proskuryakov 2011-12-12 10:35:12 PST
Steps to reproduce:

1. Open any Web page.
2. Bring up Web Inspector in either docked or separate window mode.
3. Select any text in JS console (type it if necessary).
4. Perform Search with Google using context menu.

Results: Web Inspector is replaced with a Google page.
Expected results: Not sure. Maybe it should open a new tab/window, or maybe the menu item should not be available.

Note: I didn't check whether system-wide Search with Google service has the same issue (it's disabled by default).

It's unclear to me if this is a WebKit or a Safari issue.
Comment 2 Vsevolod Vlasov 2011-12-12 13:44:01 PST
This does not happen in Chromium.
Comment 3 kevinn 2011-12-12 14:38:34 PST
(In reply to comment #2)

Just to add, in Chrome: 
- "Search in Google" in web inspector opens a new tab.
- Has the context menu item in js console and computed styles and is not available in source pane.
Comment 4 Timothy Hatcher 2011-12-13 13:26:29 PST
I'll take this.