data URIs display inconsistent in developer tools, useless really
Reported by
pdk...@gmail.com,
May 10 2016
|
|||||||
Issue descriptionChrome Version : 50.0.2661.94 Right now, the way Developer Tools reports data URIs is rather useless IMO, and inconsistent too. (1.png) It displays some characters from the data URI. In a strange way, but the more important question is: why? I challenge anyone to decode base64 manually, and then decode PNG manually. Nobody can edit this. So why not use a more concise format which actually has some useful information, like the remaining string size. data:image/png;base64,(500) (2.png) Google seems to acknowledge this, as you can only edit the not encoded part really, which is covered with the above format. Trying to move the cursor to a further position takes a minute perhaps. (As established, nobody does this anyway.) (3.png) In the network tab, not even the encoding is shown. (It's the same in the Resources panel.) When you hover, it shows the full data URI in a single row only, and truncates overflow. (I couldn't capture this.)
,
May 18 2016
I can't.
,
May 19 2016
Thank you for providing more feedback. Adding requester "ssamanoori@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 20 2016
,
May 23 2016
,
May 23 2016
I'm not sure what do you propose instead? Since nobody edits data URIs manually, it's fine to display them as we do now. Please provide constructive feedback on what you think the right behavior is.
,
May 24 2016
(I did?)
,
May 25 2016
One constructive feedback the report mentions is to show - data:image/png;base64,(500) Instead of the full URL. It makes some sense, since rendering the endless stream of characters everywhere does have performance and memory implications. Still a WontFix?
,
May 25 2016
We show the trimmed version. Why invent some new notation instead of using ellipses as everybody does?
,
May 25 2016
It's trimmed very strangely. Show first 100 or so characters. Skip 1000 characters. Show 100 characters. Skip 100 characters. (And a reason could be that it's useless.) |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by ssamanoori@chromium.org
, May 18 2016Labels: Needs-Feedback