Bug 53482 - Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane
Summary: Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
Depends on:
Reported: 2011-02-01 04:09 PST by Alexander Pavlov (apavlov)
Modified: 2011-02-01 06:53 PST (History)
11 users (show)

See Also:

[PATCH] Suggested fix (4.19 KB, patch)
2011-02-01 05:50 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-02-01 04:09:17 PST
1. Open a web page with a background image.
2. Open the Developers Tools.
3. Select the DOM element with the background image.
4. Right click on the image link in the right panel.

What is the expected result?
Item with text: "Open link in new tab"

What happens instead?
Item with text: "Open Link in New Window"
Comment 1 Alexander Pavlov (apavlov) 2011-02-01 05:50:35 PST
Created attachment 80750 [details]
[PATCH] Suggested fix
Comment 2 Yury Semikhatsky 2011-02-01 06:10:04 PST
Comment on attachment 80750 [details]
[PATCH] Suggested fix

View in context: https://bugs.webkit.org/attachment.cgi?id=80750&action=review

> Source/WebKit/chromium/src/js/DevTools.js:98
> +WebInspector.openLinkExternallyLabel = function()

Why not use the same mechanism in Chrome and in Safari?
Comment 3 WebKit Commit Bot 2011-02-01 06:53:28 PST
Comment on attachment 80750 [details]
[PATCH] Suggested fix

Clearing flags on attachment: 80750

Committed r77249: <http://trac.webkit.org/changeset/77249>
Comment 4 WebKit Commit Bot 2011-02-01 06:53:33 PST
All reviewed patches have been landed.  Closing bug.