On Wed, Dec 14, 2016 at 9:35 AM, Ben Kelly <bke...@mozilla.com> wrote:

> On Tue, Dec 13, 2016 at 7:35 PM, Kyle Machulis <kmachu...@mozilla.com>
> wrote:
>
> > AFAIK, Chrome's strategy for this is to just store everything in memory
> and
> > keep a fairly small size cap on it (something like 32mb?).
> >
>
> Really?  Last I asked they said they basically created a new temporary
> profile when entering incognito mode.  (More similar to our containers,
> etc.) The code then worked as normal.  So I thought it wrote to disk.  They
> then delete the temp profile when they are done with incognito.
>
> This is only based on an informal face-to-face discussion with one of their
> storage engineers, though.  I haven't actually looked at the code.
>

No.  What they do is open the backing LevelDB database in in-memory mode
when IDB is accessed inside Incognito mode: <
https://trac.webkit.org/changeset/96322> which is similar to what we're
doing here.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to