Closed Bug 1443435 Opened 6 years ago Closed 6 years ago

svg rendered black when content security policy are enabled

Categories

(Core :: DOM: Security, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1262842

People

(Reporter: nino+mozilla, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

29.93 KB, image/png
Details
Attached image Demo.
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20100101
Firefox for Android

Steps to reproduce:

1) Create a (colored) svg.
2) Host it on a page with content-security-policy.
3) Open this page with Firefox (desktop or mobile).


Actual results:

Shapes of the svg are rendered, but in black.


Expected results:

Displaying the svg with his colors.
I made a demo here : https://demo.quic.fr/blacksvg/
Status: UNCONFIRMED → RESOLVED
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Closed: 6 years ago
Component: Untriaged → DOM: Security
Keywords: testcase
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: