Brad Werth f22a62fd77 Bug 1839537: Delay destruction of nsCocoaWindow while it has a pending runnable. r=mstange
This change does 3 things;
1) It continues the run loop in DestroyNativeWindow to keep it running as
long as we have a pending runnable to FinishCurrentTransition.
2) It generalizes the guards on running local run loops in a nested
fashion.
3) It updates the screen mask constant to a non-deprecated value.

Differential Revision: https://phabricator.services.mozilla.com/D181680
2023-09-23 00:38:50 +00:00
..