summaryrefslogtreecommitdiffstats
path: root/editor/spellchecker
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /editor/spellchecker
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'editor/spellchecker')
-rw-r--r--editor/spellchecker/tests/test_spellcheck_after_edit.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/editor/spellchecker/tests/test_spellcheck_after_edit.html b/editor/spellchecker/tests/test_spellcheck_after_edit.html
index 24806addee..7c3f656855 100644
--- a/editor/spellchecker/tests/test_spellcheck_after_edit.html
+++ b/editor/spellchecker/tests/test_spellcheck_after_edit.html
@@ -67,11 +67,11 @@ SimpleTest.waitForFocus(async () => {
normalSel.collapse(editingHost.querySelector("p + p").firstChild, 0);
return 0;
},
- run: (editingHost) => {
+ run: () => {
document.execCommand("delete");
return 0;
},
- check: (spellCheckSel, editingHost) => {
+ check: (spellCheckSel) => {
is(
spellCheckSel.rangeCount,
0,
@@ -86,11 +86,11 @@ SimpleTest.waitForFocus(async () => {
normalSel.collapse(editingHost.querySelector("p + p").firstChild, 0);
return 2;
},
- run: (editingHost) => {
+ run: () => {
document.execCommand("delete");
return 0;
},
- check: (spellCheckSel, editingHost) => {
+ check: (spellCheckSel) => {
is(
spellCheckSel.rangeCount,
0,
@@ -105,11 +105,11 @@ SimpleTest.waitForFocus(async () => {
normalSel.collapse(editingHost.querySelector("p").firstChild, "It is".length);
return 1;
},
- run: (editingHost) => {
+ run: () => {
document.execCommand("insertParagraph");
return 0;
},
- check: (spellCheckSel, editingHost) => {
+ check: (spellCheckSel) => {
is(
spellCheckSel.rangeCount,
0,
@@ -124,7 +124,7 @@ SimpleTest.waitForFocus(async () => {
normalSel.collapse(editingHost.querySelector("p").firstChild, "It's beco".length);
return 0;
},
- run: (editingHost) => {
+ run: () => {
document.execCommand("insertParagraph");
return 1;
},