зеркало из https://github.com/mozilla/gecko-dev.git
67eda3a866
This is in practice the behavior already, because swap is really a move and removing the old tab, and when removing the other tab, the bfcached frameloaders are destroyed. But they stay still in the session history. So this patch clears session history explicitly. As long as we have message managers, we can't really support bfcache in this case, since we can't swap message managers, there are no corresponding managers on the other side. Message managers need to stay always in the original window, since the listeners are from there. WindowActors do move with frameloader/browsingcontext, but that leads easily to memory leaks. https://bugzilla.mozilla.org/show_bug.cgi?id=1697918 is about that and it has nothing to do with bfcache. Differential Revision: https://phabricator.services.mozilla.com/D108273 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |