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 2b5ae449f5b7d17e3d1a63fc2e78dcfffa321ce5..66ab49fc13f4656544f396475c07c3e4896191ae 100644 |
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl |
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.idl |
@@ -22,7 +22,11 @@ |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 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), |
@@ -35,6 +39,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; |