ToolboxController renders no tab and no command button until its canRender state is set, and open() only schedules that from an idle callback, which can be starved past the end of open(). The tracer tests then hand a null command-button-jstracer to synthesizeMouseAtCenter. Bug 1399548 added the gate to stop the component rendering before the toolbar buttons were built, when #buildButtons() was asynchronous; it is synchronous now, so no intermediate render is left to prevent. Awaiting the idle callback instead would leave open() pending once its window is gone. Differential Revision: https://phabricator.services.mozilla.com/D325033