Closed
Bug 1297078
Opened 8 years ago
Closed 8 years ago
Advised to use child-src in CSP when child-src is already specified.
Categories
(Core :: DOM: Security, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1288896
People
(Reporter: bugzilla, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Steps to reproduce:
I issue a CSP header that contains both the child-src and frame-src directive. These directives contain the same values for backwards compatibility.
You can see this in my current CSP header on https://scotthelme.co.uk
Actual results:
Firefox gives me the following warning:
Content Security Policy: Directive 'frame-src' has been deprecated. Please use directive 'child-src' instead.
Expected results:
I am already using the child-src directive so this warning is redundant. Firefox should simply disregard the frame-src directive and use the provided child-src directive.
Updated•8 years ago
|
Component: Untriaged → DOM: Security
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•