mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
c2c425bc88
Currently, we stop updating closed tabs if max_tabs_undo is set to 0, however we don't clear that data and carry it around indefinitely unless the user clears the browser history. This means that when closing a tab, we still show the "Undo close tab" snackbar, however with its contents referring to the last tab the user closed before setting browser.sessionstore.max_tabs_undo to 0. With this patch, we clear all closed tabs (and don't reload them from disc on startup) if max_tabs_undo is 0, which also stops the snackbar from showing after closing a tab. MozReview-Commit-ID: PEtminpW4B --HG-- extra : rebase_source : 7c8039db1d1d7c5bc127cdc11fbc0a1387694ef9 |
||
---|---|---|
.. | ||
android | ||
locales |