Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-button-element/button-events.html

Issue 1666363003: Import web-platform-tests@27e3d93f88a71a249d1df872a5d613b3243b9588 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed win failiure in TestExpectations Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
});

Powered by Google App Engine
This is Rietveld 408576698