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

Unified Diff: third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.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/SecurityPolicyViolationEventInit.idl
diff --git a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.idl b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.idl
index bdce54ab95fae1f04394a23b2b6f53b1dc5546e4..4e34ccce653a9c08c5a17085542e5dfd7504bf2d 100644
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.idl
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.idl
@@ -18,4 +18,6 @@ dictionary SecurityPolicyViolationEventInit : EventInit {
unsigned short statusCode;
long lineNumber;
long columnNumber;
+
+ [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] DOMString scriptSample;
};

Powered by Google App Engine
This is Rietveld 408576698