-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Hide nonce
content attribute values. (#2369)
#2373
Merged
Merged
Commits on Apr 7, 2017
-
Hide 'nonce' content attributes.
This patch extracts the 'nonce' attribute out to a generic definition in the "Fetching resources" section (alongside "CORS settings attributes", etc.), and defines some new behaviors with the intent of reducing the risk of side-channel leakage of the nonce's value. In short, the nonce value is extracted from the content attribute when the element is inserted into the DOM, and put into an internal slot. The content attribute's value is set to the empty string. From then on, the slot's value and the content attribute's value are disconnected; alterations to one have no effect on the other, and vice-versa. The nonce's value is available to script via the `nonce` IDL attribute, and so can be propagated just as today. Addresses #2369.
Configuration menu - View commit details
-
Copy full SHA for e1fe3e9 - Browse repository at this point
Copy the full SHA e1fe3e9View commit details
Commits on Apr 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7c2ecca - Browse repository at this point
Copy the full SHA 7c2eccaView commit details
Commits on May 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5fce306 - Browse repository at this point
Copy the full SHA 5fce306View commit details
Commits on May 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 84e0e9b - Browse repository at this point
Copy the full SHA 84e0e9bView commit details
Commits on May 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 51e0a2a - Browse repository at this point
Copy the full SHA 51e0a2aView commit details
Commits on May 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ba33b18 - Browse repository at this point
Copy the full SHA ba33b18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eccfe5 - Browse repository at this point
Copy the full SHA 0eccfe5View commit details
Commits on May 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 218badf - Browse repository at this point
Copy the full SHA 218badfView commit details
Commits on Nov 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c8f5419 - Browse repository at this point
Copy the full SHA c8f5419View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a78955 - Browse repository at this point
Copy the full SHA 1a78955View commit details -
4
Configuration menu - View commit details
-
Copy full SHA for 67f38c6 - Browse repository at this point
Copy the full SHA 67f38c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d628a08 - Browse repository at this point
Copy the full SHA d628a08View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.