summaryrefslogtreecommitdiffstats
path: root/editor/spellchecker
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /editor/spellchecker
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/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;
},