Fix spell checking subtests in browser_contextmenu.js
Categories
(Firefox :: Menus, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox47 | --- | affected |
People
(Reporter: jaws, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
6.10 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Updated•8 years ago
|
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Updated•5 years ago
|
Comment 13•3 years ago
|
||
We should probably try re-enabling these, they're still disabled (cf. https://searchfox.org/mozilla-central/rev/70b32246fce5ca1f53af573a21c1939df58cb969/browser/base/content/test/contextMenu/browser_contextmenu.js#1031-1058 ).
Comment 14•2 years ago
|
||
Dan, is there any chance you're able to help get these tests back to running, with your context from the multi-lingual spellcheck work? AFAICT they currently get stuck trying to wait for spellcheck to be ready. I'm also, in practice, seeing no suggestions the first time I open the context menu on an input that has misspellings - the second time, the suggestions have been populated.
Comment 15•2 years ago
|
||
(I came across this issue again in bug 923514)
Comment 16•2 years ago
|
||
I'm afraid I don't have the time or much context to dig into this right now, my multi-lingual spellchecking work was mostly on the C++ side. This is at least partly using functions in AsyncSpellCheckTestHelper.jsm that caused problems for me with other mochitests. I changed the onSpellCheck
function to block indefinitely waiting for spellchecking [1], the old behaviour was to spin the event loop an arbitrary number of times waiting for spellchecking to begin, this is now called maybeOnSpellCheck
[2]. We have problems with intermittent failures in other tests as well, I think cleaning up these helper functions would be a good step forward, I tried to do that in Bug 1402822, but with limited success.
[1] https://searchfox.org/mozilla-central/rev/6ec440e105c2b75d5cae9d34f957a2f85a106d54/editor/AsyncSpellCheckTestHelper.jsm#106
[2] https://searchfox.org/mozilla-central/rev/6ec440e105c2b75d5cae9d34f957a2f85a106d54/editor/AsyncSpellCheckTestHelper.jsm#35
Description
•