gecko-dev/xpfe
Jens Stutte 0f4192786c Bug 1738185: Update the error handling in the mediator around mReady status. r=mccr8
mReady is false both before nsWindowMediator is initialized and after it observed xpcom-shutdown. In the latter case we can still receive Javascript calls as the service is not yet unregistered. We want to ensure that:

- we cannot register new windows anymore (this was already the case but we want to assert, too).
- we do not throw while asking for enumerators even late in shutdown, returning an empty enumerator.
- we assert on other late calls (but keep returning an error in non-debug).

Differential Revision: https://phabricator.services.mozilla.com/D129942
2021-11-03 15:25:10 +00:00
..
appshell Bug 1738185: Update the error handling in the mediator around mReady status. r=mccr8 2021-11-03 15:25:10 +00:00