зеркало из https://github.com/mozilla/gecko-dev.git
5c6e590a78
GeckoView has already started using a slightly modified version of mapFrameTree, and since ssu.forEachNonDynamicChildFrame() has vastly simplified the process of correctly using FormData/ScrollPosition.collect() for *all* (non-dynamic) child frames, we want to use mapFrameTree for Fennec's session store as well. Therefore, to avoid further duplication of code, we add a common version to the session store's Utils.jsm module. We base the code on the GeckoView implementation of mapFrameTree, which has gained the ability to use callback *arrays*, however we still use ssu.forEach- NonDynamicChildFrame() like Desktop currently does, instead of simply iterating over *all* frames. MozReview-Commit-ID: 3ilEgNSeCEv --HG-- extra : rebase_source : 793c34bf5160329efd7f92c402945903f0204da9 |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
moz.build | ||
moz.configure | ||
nss.configure | ||
toolkit.mozbuild |