Index: third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor-expected.txt |
index 1fc04187f682b020763054fd15fd188cbb4f78cc..c824a64b99b6575b6660a08b2302d73e51fbe41a 100644 |
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor-expected.txt |
@@ -12,6 +12,7 @@ PASS new SecurityPolicyViolationEvent('eventType').violatedDirective is "" |
PASS new SecurityPolicyViolationEvent('eventType').effectiveDirective is "" |
PASS new SecurityPolicyViolationEvent('eventType').originalPolicy is "" |
PASS new SecurityPolicyViolationEvent('eventType').sourceFile is "" |
+PASS new SecurityPolicyViolationEvent('eventType').disposition is "enforce" |
PASS new SecurityPolicyViolationEvent('eventType').lineNumber is 0 |
PASS new SecurityPolicyViolationEvent('eventType').columnNumber is 0 |
PASS new SecurityPolicyViolationEvent('eventType').statusCode is 0 |
@@ -26,6 +27,7 @@ PASS new SecurityPolicyViolationEvent('eventType', { violatedDirective: 'foo' }) |
PASS new SecurityPolicyViolationEvent('eventType', { effectiveDirective: 'foo' }).effectiveDirective is "foo" |
PASS new SecurityPolicyViolationEvent('eventType', { originalPolicy: 'foo' }).originalPolicy is "foo" |
PASS new SecurityPolicyViolationEvent('eventType', { sourceFile: 'foo' }).sourceFile is "foo" |
+PASS new SecurityPolicyViolationEvent('eventType', { disposition: 'foo' }).disposition threw exception TypeError: Failed to construct 'SecurityPolicyViolationEvent': The provided value 'foo' is not a valid enum value of type SecurityPolicyViolationEventDisposition.. |
PASS new SecurityPolicyViolationEvent('eventType', { lineNumber: 42 }).lineNumber is 42 |
PASS new SecurityPolicyViolationEvent('eventType', { columnNumber: 42 }).columnNumber is 42 |
PASS new SecurityPolicyViolationEvent('eventType', { statusCode: 42 }).statusCode is 42 |