mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Before the browser is mounted, listen for `remote-browser-shown` so that we know when the browser is fully ready. Without waiting for an event such as this, we don't know whether all frame state for the browser is fully initialized (since some happens async after the element is added), and swapping browsers can fail if this state is not ready. MozReview-Commit-ID: Ltd7mjdt7ox