mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
6572652a7d
We maintain a simple LRU cache of tab layers by setting their docShellIsActive = false with preserveLayers(true). Once they are pushed out of the cache by more recently used tabs, their layers are discarded. Luckily most of the complexity of this could be contained in the AsyncTabSwitcher - the one change that had to sit outside of that was moving the aTab.closing = true earlier in the removeTab call, so that we could use that information to eagerly evict tabs from the cache. This was to address a leak in a few tests on try. MozReview-Commit-ID: 2E3uU8LEYkD --HG-- extra : rebase_source : d2865fd1ee10db17d9f41cca059a5cee697f259d |
||
---|---|---|
.. | ||
sslerrorreport | ||
tabbrowser |