Files
Florian Quèze 6abfa5161b Bug 2070923 - Render the toolbox toolbar before Toolbox.open() resolves, r=devtools-reviewers,jdescottes.
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
2026-09-11 11:29:57 +00:00
..
…