Closed
Bug 1219771
Opened 10 years ago
Closed 10 years ago
can't copy svg image as data: URL
Categories
(DevTools :: Netmonitor, defect)
DevTools
Netmonitor
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
Details
Attachments
(1 file)
|
7.67 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
This came out of discussion in bug 937586.
Open the network monitor and then visit
https://developer.cdn.mozilla.net/static/img/logo_sprite.7d36c4a1422b.svg
Notice that the svg doesn't display as a thumbnail.
Now copy the svg as a data: URL.
I get (truncated for your sanity):
data:image/svg+xml;undefined,<svg xmlns="http://www.w3.org/2000/svg" ...
That "undefined" comes from:
https://dxr.mozilla.org/mozilla-central/source/devtools/shared/webconsole/network-monitor.js#385
The thumbnail code should probably base64-encode this itself when the
encoding is not set.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ttromey
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8680829 -
Flags: review?(vporof)
Updated•10 years ago
|
Attachment #8680829 -
Flags: review?(vporof) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
Comment 5•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•