Closed
Bug 1373762
Opened 7 years ago
Closed 7 years ago
Make editor mochitests correctly wait for spell checking to finish
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
(deleted),
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8878605 -
Flags: review?(michael)
Comment 2•7 years ago
|
||
Comment on attachment 8878605 [details] [diff] [review]
Make editor mochitests correctly wait for spell checking to finish
Review of attachment 8878605 [details] [diff] [review]:
-----------------------------------------------------------------
::: editor/libeditor/tests/test_bug432225.html
@@ +60,5 @@
> getEdit().focus();
> sendString('aa OK ');
> gMisspeltWords.push("aa");
> + SpecialPowers.Cu.import(
> + "resource://testing-common/AsyncSpellCheckTestHelper.jsm", window);
nit: It would be nicer if we did something more like the following, in order to avoid importing junk into the global scope, here and in the other tests:
let {onSpellCheck} = SpecialPowers.Cu.import("resource://testing-common/AsyncSpellCheckTestHelper.jsm", {});
Attachment #8878605 -
Flags: review?(michael) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0bdf9af0636
Make editor mochitests correctly wait for spell checking to finish; r=mystor
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•6 years ago
|
Assignee: nobody → ehsan
You need to log in
before you can comment on or make changes to this bug.
Description
•