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 9c5c4d77df1891eccf818a5efb3b4d92c692931d..cfdfce096d153cc79258cf197361be1868ff1621 100644 |
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl |
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl |
@@ -23,7 +23,11 @@ |
* DAMAGE. |
*/ |
-// http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyviolationevent-interface |
+// https://w3c.github.io/webappsec-csp/#idl-index |
+ |
+enum SecurityPolicyViolationEventDisposition { |
+ "enforce", "report" |
+}; |
[ |
Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict), |
@@ -36,6 +40,7 @@ |
readonly attribute DOMString violatedDirective; |
readonly attribute DOMString effectiveDirective; |
readonly attribute DOMString originalPolicy; |
+ readonly attribute SecurityPolicyViolationEventDisposition disposition; |
readonly attribute DOMString sourceFile; |
[Measure] readonly attribute unsigned short statusCode; |
readonly attribute long lineNumber; |