From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../web-platform/tests/selection/textcontrols/selectionchange.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/web-platform/tests/selection/textcontrols/selectionchange.html') diff --git a/testing/web-platform/tests/selection/textcontrols/selectionchange.html b/testing/web-platform/tests/selection/textcontrols/selectionchange.html index 2b43cfe44b..1c4ddf2b9b 100644 --- a/testing/web-platform/tests/selection/textcontrols/selectionchange.html +++ b/testing/web-platform/tests/selection/textcontrols/selectionchange.html @@ -184,7 +184,7 @@ target.setRangeText("foo", 2, 6); await data.assert_empty_spin(); - assert_equals(collector.events.length, 2); + assert_equals(collector.events.length, 1); }, `Calling setRangeText() after select() on ${name}`); promise_test(async () => { @@ -196,7 +196,7 @@ target.setRangeText("", 10, 12); await data.assert_empty_spin(); - assert_equals(collector.events.length, 4); + assert_equals(collector.events.length, 1); }, `Calling setRangeText() repeatedly on ${name}`); promise_test(async () => { -- cgit v1.2.3