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

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..f2d1ed616649eb997f4d0d0ae4c911a70735f61a 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 sample;
};

Powered by Google App Engine
This is Rietveld 408576698