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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-input-element/radio.html

Issue 1999243002: Import wpt@5df9b57edb3307a87d5187804b29c8ddd2aa14e1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add expectations files (using run-webkit-tests --new-baseline) Created 4 years, 7 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/wpt/html/semantics/forms/the-input-element/radio.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-input-element/radio.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-input-element/radio.html
index 39baf75af9e33e1725fa14e26eea3fb546e9401c..de475aae0e8b237e93ab649cfc0cd4f5d2ab822f 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-input-element/radio.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-input-element/radio.html
@@ -83,6 +83,7 @@
click_fired = true;
assert_false(input_fired, "click event should fire before input event");
assert_false(change_fired, "click event should fire before change event");
+ assert_false(e.isTrusted, "click()-initiated click event shouldn't be trusted");
});
radio5.oninput = t1.step_func(function(e) {
@@ -90,7 +91,7 @@
assert_true(click_fired, "input event should fire after click event");
assert_false(change_fired, "input event should fire before change event");
assert_true(e.bubbles, "input event should bubble")
- assert_false(e.isTrusted, "click()-initiated input event shouldn't be trusted");
+ assert_true(e.isTrusted, "input event should be trusted");
assert_false(e.cancelable, "input event should not be cancelable");
});
@@ -99,7 +100,7 @@
assert_true(click_fired, "change event should fire after click event");
assert_true(input_fired, "change event should fire after input event");
assert_true(e.bubbles, "change event should bubble")
- assert_false(e.isTrusted, "click()-initiated change event shouldn't be trusted");
+ assert_true(e.isTrusted, "change event should be trusted");
assert_false(e.cancelable, "change event should not be cancelable");
});

Powered by Google App Engine
This is Rietveld 408576698