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

Unified Diff: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl

Issue 2436003002: CSP: Add 'script-sample' to violation reports. (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl
diff --git a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl
index cfdfce096d153cc79258cf197361be1868ff1621..0410fc1f55a77a77988c09fc163686f2857bf753 100644
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl
@@ -45,4 +45,6 @@ enum SecurityPolicyViolationEventDisposition {
[Measure] readonly attribute unsigned short statusCode;
readonly attribute long lineNumber;
readonly attribute long columnNumber;
+
+ [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribute DOMString sample;
};

Powered by Google App Engine
This is Rietveld 408576698