gecko-dev/toolkit
Jan Henning 5c6e590a78 Bug 1456391 - Part 2: Add mapFrameTree to sessionstore's Utils.jsm. r=mikedeboer
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
2018-04-25 22:04:56 +02:00
..
components Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
content Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
crashreporter Bug 1433968 - Add CrashReporterService for GeckView r=jchen 2018-05-01 10:43:22 -05:00
forgetaboutsite Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
library Bug 1458161 - Hook rust OOM handler. r=froydnj 2018-05-01 10:30:03 +09:00
locales Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical 2018-04-30 15:05:19 -05:00
modules Bug 1456391 - Part 2: Add mapFrameTree to sessionstore's Utils.jsm. r=mikedeboer 2018-04-25 22:04:56 +02:00
mozapps Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
pluginproblem
profile
system Bug 1456863 - Backed out bug 356831 (changeset 204bb43af943) for leaks r=me 2018-04-30 15:34:39 +02:00
themes Bug 1456728 - Bind an empty binding on scrollbar r=mconley 2018-04-27 13:27:47 -07:00
xre Bug 1458161 - Hook rust OOM handler. r=froydnj 2018-05-01 10:30:03 +09:00
.eslintrc.js
moz.build Bug 1456863 - Backed out bug 356831 (changeset 204bb43af943) for leaks r=me 2018-04-30 15:34:39 +02:00
moz.configure Bug 1306529 - Add initial implementation of PureOmxPlatformLayer r=jya 2018-04-18 11:38:12 +09:00
nss.configure Bug 1446809 - Remove some b2g leftover in the build r=glandium 2018-03-20 10:46:23 +01:00
toolkit.mozbuild Bug 1454466 - Move raptor in-tree; r=ahal 2018-04-16 17:15:38 -04:00