diff options
Diffstat (limited to 'widget/tests/window_composition_text_querycontent.xhtml')
-rw-r--r-- | widget/tests/window_composition_text_querycontent.xhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/tests/window_composition_text_querycontent.xhtml b/widget/tests/window_composition_text_querycontent.xhtml index db3b10ea30..4806d0d187 100644 --- a/widget/tests/window_composition_text_querycontent.xhtml +++ b/widget/tests/window_composition_text_querycontent.xhtml @@ -6270,7 +6270,7 @@ function runQueryContentEventRelativeToInsertionPoint() synthesizeComposition({ type: "compositioncommitasis" }); // Move start of composition at first compositionupdate event. - function onCompositionUpdate(aEvent) + function onCompositionUpdate() { startOffset = textarea.selectionStart = textarea.selectionEnd = textarea.selectionStart - 1; textarea.removeEventListener("compositionupdate", onCompositionUpdate); |