gecko-dev/extensions/spellcheck/hunspell
Makoto Kato d75677fa6d Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki
When using `CheckAsync` IPC, we don't hold `mozSpellChecker`. It causes that
`mozSpellChecker` may be destroyed during IPC call.

The destructor of `mozSpellChecker` destroys actor of spellchecker IPC via
`Send__delete__`. Although IPC rejects pending promises of async IPC during
destroying actor, it cannot remove replay messages from parent process.
So route error occurs.

So we have to keep `mozSpellChecker` during async IPC.

And we cannot convert attached test case to crashtest or mochitest since this
depends on navigation and timing. So I don't add it.

Differential Revision: https://phabricator.services.mozilla.com/D30347

--HG--
extra : moz-landing-system : lando
2019-05-08 13:21:55 +00:00
..
glue Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki 2019-05-08 13:21:55 +00:00
src Bug 1508256 - replace hunspell's README.mozilla with moz.yaml; r=masayuki 2018-11-20 01:33:40 +00:00
tests/unit Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop 2019-03-28 09:38:14 +00:00
moz.build Bug 1460600: Remove unsupported --enable-system-hunspell flag. r=glandium 2018-05-10 10:36:53 -07:00