diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /editor/spellchecker/tests | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'editor/spellchecker/tests')
-rw-r--r-- | editor/spellchecker/tests/test_spellcheck_after_edit.html | 14 |
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; }, |