Loading
fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser
TB 44781: Use a static title for `about:torconnect`. We now use Fluent to set the page `<title>`, this causes some delay between the page being loaded and the title being set. Which cause the `about:torconnect` URL to flash in the browser tab selector. Moreover, even the prior non-Fluent approach would have "New Tab" flash in the title just before "Connect to Tor" was set. As such, we adjust `tabbrowser.js` and `tabs.js` to: 1. Set the `about:torconnect`'s tab label to the expected page title before the page has loaded and set it's title. 2. Set the very first tab's label to the `about:torconnect` page title at startup, rather than "New Tab".