Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/WebKit/Source/core/svg/SVGScriptElement.idl

Issue 2644143005: Adjust the <script nonce>-hiding experiment (Closed)
Patch Set: webexposed Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGScriptElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGScriptElement.idl
diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.idl b/third_party/WebKit/Source/core/svg/SVGScriptElement.idl
index 52d84e7aeca16995dc4b0a890897396068cb1205..56d924103a985eda920f74a0182b9ae37e8e8ab9 100644
--- a/third_party/WebKit/Source/core/svg/SVGScriptElement.idl
+++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.idl
@@ -27,6 +27,10 @@
interface SVGScriptElement : SVGElement {
[Reflect] attribute DOMString type;
+
+ // Content Security Policy
+ // https://w3c.github.io/webappsec/specs/content-security-policy/#script-src-the-nonce-attribute
+ [CEReactions, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute DOMString nonce;
};
SVGScriptElement implements SVGURIReference;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGScriptElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698