Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html |
index 432f1f607c805bba89bb3986c361fd974c0e7253..90d32814814b56756f13243dd77a6dda0932bdfb 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html |
@@ -23,25 +23,25 @@ var btn = document.getElementById("btn"), |
document.forms.fm1.onsubmit = t1.step_func(function (evt) { |
evt.preventDefault(); |
- assert_true(evt.isTrusted, "The isTrusted attribute of the submit event shoud be true."); |
- assert_true(evt.bubbles, "The bubbles attribute of the submit event shoud be true."); |
- assert_true(evt.cancelable, "The cancelable attribute of the submit event shoud be true."); |
+ assert_true(evt.isTrusted, "The isTrusted attribute of the submit event should be true."); |
+ assert_true(evt.bubbles, "The bubbles attribute of the submit event should be true."); |
+ assert_true(evt.cancelable, "The cancelable attribute of the submit event should be true."); |
assert_true(evt instanceof Event, "The submit event is an instance of Event interface."); |
t1.done(); |
}); |
document.forms.fm1.onreset = t2.step_func(function (evt) { |
- assert_true(evt.isTrusted, "The isTrusted attribute of the reset event shoud be true."); |
- assert_true(evt.bubbles, "The bubbles attribute of the reset event shoud be true."); |
- assert_true(evt.cancelable, "The cancelable attribute of the reset event shoud be true."); |
+ assert_true(evt.isTrusted, "The isTrusted attribute of the reset event should be true."); |
+ assert_true(evt.bubbles, "The bubbles attribute of the reset event should be true."); |
+ assert_true(evt.cancelable, "The cancelable attribute of the reset event should be true."); |
assert_true(evt instanceof Event, "The reset event is an instance of Event interface."); |
t2.done(); |
}); |
document.getElementById("menu").onshow = t3.step_func(function (evt) { |
- assert_true(evt.isTrusted, "The isTrusted attribute of the show event shoud be true."); |
+ assert_true(evt.isTrusted, "The isTrusted attribute of the show event should be true."); |
assert_equals(evt.relatedTarget, menu_btn, "The relatedTarget attribute should be initialized to the related button element."); |
- assert_true(evt.cancelable, "The cancelable attribute of the show event shoud be true."); |
+ assert_true(evt.cancelable, "The cancelable attribute of the show event should be true."); |
assert_true(evt instanceof RelatedEvent, "The show event is an instance of RelatedEvent interface."); |
t3.done(); |
}); |