mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
55ecb8b313
During a cold startup, depending how this exactly plays out we might receive an application-foreground notification before the browser window is ready. Since the code to restore the selected tab if it has been left zombified while in background is only relevant if Gecko was already running and backgrounded, we can simply add a null check for the window before accessing it. MozReview-Commit-ID: Ahp5NAODKRF --HG-- extra : rebase_source : bede266e13f48fbc2f7efd40bb9277be6d2bd3bf |
||
---|---|---|
.. | ||
android | ||
locales |