Re: Transaction callback for localStorage mutex?

2009-12-02 Thread Jeremy Orlow
Of course, what's shipping in IE 8 is broken in that it doesn't support run to completion (and neither will Chrome 4). So honestly I'm not super compelled by the IE shipped argument. I still think giving a close approximation to run to completion (repeatable reads semantics) + a callback for

Re: Transaction callback for localStorage mutex?

2009-12-02 Thread Jeremy Orlow
For those not following WhatWG: Ian just responded to the latest round of localStorage feedback there and I just elaborated on my proposal. On Wed, Dec 2, 2009 at 2:06 AM, Jeremy Orlow jor...@chromium.org wrote: Of course, what's shipping in IE 8 is broken in that it doesn't support run to

Transaction callback for localStorage mutex?

2009-12-01 Thread Adam Barth
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]++; });

Re: Transaction callback for localStorage mutex?

2009-12-01 Thread Aaron Boodman
On Tue, Dec 1, 2009 at 6:18 PM, Adam Barth w...@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?

Re: Transaction callback for localStorage mutex?

2009-12-01 Thread Ian Hickson
On Tue, 1 Dec 2009, Adam Barth 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? One of the limitations is we