Index: third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor.html |
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor.html b/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor.html |
index 10ffd7b2ada29b202630dc6b49c090e0b01a1c3b..16528c205287c1db49f2ed11a1da1297375a6e05 100644 |
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor.html |
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/security-policy-violation-event-constructor.html |
@@ -20,6 +20,7 @@ shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').blockedURI"); |
shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').violatedDirective"); |
shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').effectiveDirective"); |
shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').originalPolicy"); |
+shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').disposition"); |
shouldBeEmptyString("new SecurityPolicyViolationEvent('eventType').sourceFile"); |
shouldBe("new SecurityPolicyViolationEvent('eventType').lineNumber", "0"); |
shouldBe("new SecurityPolicyViolationEvent('eventType').columnNumber", "0"); |
@@ -34,7 +35,7 @@ shouldBeFalse("new SecurityPolicyViolationEvent('eventType', { cancelable: false |
shouldBeTrue("new SecurityPolicyViolationEvent('eventType', { cancelable: true }).cancelable"); |
// String members are passed. |
-["documentURI", "referrer", "blockedURI", "violatedDirective", "effectiveDirective", "originalPolicy", "sourceFile"].forEach(function(member) { |
+["documentURI", "referrer", "blockedURI", "violatedDirective", "effectiveDirective", "originalPolicy", "disposition", "sourceFile"].forEach(function(member) { |
shouldBeEqualToString("new SecurityPolicyViolationEvent('eventType', { " + member + ": 'foo' })." + member, "foo"); |
}); |