Switch Activity-Stream CSP on, including about:welcome
Categories
(Firefox :: New Tab Page, enhancement, P2)
Tracking
()
People
(Reporter: Mardak, Assigned: k88hudson)
References
Details
(Keywords: sec-want, Whiteboard: [adv-main63-])
Attachments
(1 file)
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Reporter | ||
Comment 8•7 years ago
|
||
Assignee | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Assignee | ||
Comment 11•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 12•6 years ago
•
|
||
Looking at this again, it looks like all of the issues are resolved.
The current policy I am seeing is:
default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob:; style-src 'unsafe-inline';
The only thing I see that isn't addressed is the unsafe inline styles. Shall we file that as a low priority follow up bug?
Reporter | ||
Comment 13•6 years ago
|
||
What are we revisiting or what's the question about "prerendered CSP"? The nightly CSP is set to
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob:; style-src 'unsafe-inline';">
Comment 14•6 years ago
|
||
Sorry I updated my comment.
Shall I file a bug about the unsafe-inline styles and close this off? Everything else seems fine.
Reporter | ||
Comment 15•6 years ago
|
||
The style-src can't be removed now while we have bug 1513311 conditionally adding a dynamically generated stylesheet (where the server can optionally provide selectors and declarations that then get sanitized with CSSOM). This was added for rapid experimentation and dynamic layouts without requiring Firefox code changes for temporary style overrides.
If we want to remove that or change how it's implemented, we'll want a separate bug.
Updated•6 years ago
|
Description
•