W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] localStorage + worker processes

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 23 Mar 2009 14:23:44 -0700
Message-ID: <63df84f0903231423m37c9e310ha640a5fd91d8f02a@mail.gmail.com>
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
Received on Monday, 23 March 2009 14:23:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:48 UTC