diff options
Diffstat (limited to 'editor/spellchecker')
-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; }, |