W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: Transaction callback for localStorage mutex?

From: Aaron Boodman <aa@google.com>
Date: Tue, 1 Dec 2009 18:23:21 -0800
Message-ID: <278fd46c0912011823h533e0cf7ga12370c48ee867b@mail.gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: public-webapps <public-webapps@w3.org>
On Tue, Dec 1, 2009 at 6:18 PM, Adam Barth <w3c@adambarth.com> wrote:
> I haven't been following the localStorage mutex discussion in detail,
> but have we already rejected the idea of having content specifically
> ask for the mutex via a transaction callback, similar to how web
> databases work?
>
> localStorgage.atomicTransaction(function() {
>  localStorage["counter"]++;
> });

Yes, the idea was rejected because if it is required then it is a
breaking change to local storage, and if it isn't required, then
authors won't use it because they'll be lazy.

- a
Received on Wednesday, 2 December 2009 02:24:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT