-
Notifications
You must be signed in to change notification settings - Fork 23k
FF142 Integrity-Policy can be enforced on stylesheets #40746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FF142 Integrity-Policy can be enforced on stylesheets #40746
Conversation
| The HTTP **`Integrity-Policy-Report-Only`** response header allows website administrators to report on resources that the user agent loads that would violate [Subresource Integrity](/en-US/docs/Web/Security/Subresource_Integrity) guarantees if the integrity policy was enforced (using the {{HTTPHeader("Integrity-Policy")}} header). | ||
|
|
||
| Reports may be generated for requests on specified [request destinations](/en-US/docs/Web/API/Request/destination) that omit integrity metadata, or that are made in [no-cors](/en-US/docs/Web/API/Request/mode#no-cors) mode. | ||
| Reports may be generated for requests on specified [request destinations](#blocked-destinations) that omit integrity metadata, or that are made in [no-cors](/en-US/docs/Web/API/Request/mode#no-cors) mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, the link was good, but it is more useful here to be able to jump down to the field to find out what destinations are blocked. The old link appears there if people want to find out more about destinations.
|
Preview URLs
Flaws (3)Note! 2 documents with no flaws that don't need to be listed. 🎉 URL:
(comment last updated: 2025-08-18 07:10:58) |
|
@chrisdavidmills As you know, I'm working tomorrow but then gone for a bit. If you don't look at this today and you think changes are required, can you just make them and merge. If you make the changes today I can still look at them in a timely manner. |
c14fcf3 to
860e670
Compare
chrisdavidmills
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one @hamishwillee. I did as you asked and fixed up a few small bits and bobs. Mostly fine though.
|
Thanks very much. Those fixes all look great. |
* FF142 Integrity-Policy can be enforced on scripts * Fix a couple of instances of scripts only to scripts and stylesheets * code font * Couple of small fixes --------- Co-authored-by: Chris Mills <[email protected]>
FF142 adds support for specifying a style as a blocked destination (behind a preference) in https://bugzilla.mozilla.org/show_bug.cgi?id=1974247. This updates the docs to note that this is an allowed value for the
Integrity-PolicyandIntegrity-Policy-Report-Onlyheaders.Related docs work can be tracked in #40667