gecko/mobile
Jan Henning ebe434a37d Bug 1044556 - Part 1 - Notify the session store about tab zombifications. r=sebastian a=lizzard
The session store relies on a few event listeners to track the history and life cycle of a tab. Under memory pressure, background tabs are zombified in order to reduce our memory usage. This involves destroying the original tab object and then recreating it as a delay loaded tab.

As the session store is never told about this, it will keep the event listeners for the old tab objects - which have now been destroyed - alive and won't receive any future events for the new tab objects. This means that once a zombification has been triggered, the session history for those tabs will become effectively frozen, so after the next zombification or a session restore, the tab will reload the wrong page.

Therefore this patch introduces two new events which are sent during the tab zombification process and allow the session store to detach its event listeners from the old tab object before it is going to be destroyed and subsequently reattach its listeners to the new tab object.

MozReview-Commit-ID: 6xZtsCNZbQY
2016-03-18 11:40:26 +01:00
..
android Bug 1044556 - Part 1 - Notify the session store about tab zombifications. r=sebastian a=lizzard 2016-03-18 11:40:26 +01:00
locales Bug 1251278 - Remove obsolete Yahoo parameter preferences, r=mconnor. 2016-02-29 11:46:37 +01:00