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