Bug
1833142: Make pointerlock_utils.addFullscreenChangeContinuation wait for active browsingContext. r=smaug
Since pointerlockchange events will be silently dropped on an inactive
browsingContext, it is useful to wait for the browsingContext to become
active in addFullscreenChangeContinuation. The most likely behavior of
the callback is to trigger a pointerlockchange event, so we should
guarantee that we're ready for it, and error if we know that we'll fail.
Differential Revision: https://phabricator.services.mozilla.com/
D199788