gecko-dev/extensions/spellcheck
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
..
hunspell Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki 2019-05-08 13:21:55 +00:00
idl Bug 1545822 - Clean up some whitespace in XPIDL files. r=froydnj 2019-04-21 01:47:00 +00:00
locales Bug 1527545 - Add words to en-US dictionary. r=ehsan 2019-02-13 17:05:59 +07:00
src Bug 1524443 - Hold mozSpellChecker when using async IPC. r=masayuki 2019-05-08 13:21:55 +00:00
tests Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal 2019-04-18 16:51:01 +00:00
moz.build