From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- editor/spellchecker/tests/test_spellcheck_after_edit.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'editor/spellchecker/tests') 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; }, -- cgit v1.2.3