Open Bug 1046559 Opened 10 years ago Updated 2 years ago

SVG responses don't appear in image preview tooltip

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(Not tracked)

People

(Reporter: sjakthol, Unassigned)

References

()

Details

Steps to reproduce:
1. Open new tab.
2. Open network monitor
3. Go to http://www.w3.org/html/logo/downloads/HTML5_Logo.svg
4. Click on the request to open sidebar.
5. Click on "Response" tab.

What happens:
The response tab does not show the SVG image. Also, the request item does not show preview thumbnail next to file name and the image tooltip is empty when triggered.

What should happen:
The response tab shows the SVG image, thumbnail preview should render next to file name and the image tooltip should show the image when triggered.

Additional notes:
- "Copy image as Data URI" of the context menu seems to produce invalid xml which indicates the URI used in the previews is wrong. The XML should be base64 encoded.
- When experimenting with base64 encoded XML I noticed that some SVG images do not render correctly though copying their URI and opening it in another tab renders the image correctly. The base64 encoded XML seem to work but sometimes rendering inside netmonitor fails.
OS: Linux → Unspecified
Hardware: x86_64 → Unspecified
Version: 34 Branch → unspecified
Summary: SVG responses can't be previewed → SVG responses don't appear in image preview tooltip
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.