[whatwg] localStorage + worker processes

Jonas Sicking jonas at sicking.cc
Mon Mar 23 14:23:44 PDT 2009

On Mon, Mar 23, 2009 at 11:41 AM, Jeremy Orlow <jorlow at google.com> wrote:
> One thing that hasn't been considered yet is some sort of optional hint to
> say "I'm done" in terms of accessing localStorage.  Maybe call it
> localStorage.checkpoint() or localStroage.commit()?
> As far as the browser implemenation is concerned, a call to this function
> would be the same as the script ending.  The great thing about this is that
> if a developer found one problem location in their code, they could add
> it--but it'd be completely optional.
> This could be used in conjunction with most of the other ideas already
> floating around.

This is definitely an interesting idea. It does become less critical
if we go with the async lock approach, but even then it's worth

/ Jonas

More information about the whatwg mailing list