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
considering.

/ Jonas
Received on Monday, 23 March 2009 14:23:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT