FWIW, if we want to avoid the extra scheduling, I believe in C++ you can simply inspect the promise. That is, you can check whether its state is resolved, and if so, not attach a resolution handler but just call `InitialDocumentTranslationCompleted` immediately and mark mReady resolved, too. Still, that's more complex than what you have atm and perhaps it's not needed.
Bug 1576343 Comment 22 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(edited: oops, meant for bug 1578370)