summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/selection/textcontrols/selectionchange.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /testing/web-platform/tests/selection/textcontrols/selectionchange.html
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/selection/textcontrols/selectionchange.html')
-rw-r--r--testing/web-platform/tests/selection/textcontrols/selectionchange.html4
1 files changed, 2 insertions, 2 deletions
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 () => {