New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 610789 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

data URI in dev tools network preview can be copied as both Image URL and Data URL

Reported by pdk...@gmail.com, May 10 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Steps to reproduce the problem:
Have a page with embedded data URI image. Click on network request, and then on preview. Right click the previewed image.

What is the expected behavior?
Menu should provide an option to copy the image as data URI.

What went wrong?
It can be copied as data URL (which should be named URI), and as Image URL (which produces the same result as the data URL option, and does technically not apply to data URIs).

Did this work before? N/A 

Chrome version: 50.0.2661.94  Channel: stable
OS Version: Ubuntu 14.04
Flash Version:
 

Comment 1 by caseq@chromium.org, May 10 2016

Components: -Platform>DevTools Platform>DevTools>Network
Labels: -OS-Linux -Pri-2 OS-All Pri-3
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by pdk...@gmail.com, May 11 2016

PS. I filed a related bug, bot it doesn't have the proper labels, so would probably go unnoticed.

https://bugs.chromium.org/p/chromium/issues/detail?id=610804

Comment 3 by allada@chromium.org, May 19 2016

Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, May 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/055fa6e5f782a307af35464e1d1dd1075b1cf99b

commit 055fa6e5f782a307af35464e1d1dd1075b1cf99b
Author: allada <allada@chromium.org>
Date: Thu May 19 21:44:41 2016

[Devtools] If already Data URI remove Copy Image URL in network

Removed "Copy Image URL" if is already a data URL. Also renamed it to
"Data URI" as it is the proper name.

BUG= 610789 
R=lushnikov

Review-Url: https://codereview.chromium.org/1997453005
Cr-Commit-Position: refs/heads/master@{#394878}

[modify] https://crrev.com/055fa6e5f782a307af35464e1d1dd1075b1cf99b/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js

Comment 5 by allada@chromium.org, May 19 2016

Status: Fixed (was: Started)

Sign in to add a comment