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

[whatwg] RFC: Alternatives to storage mutex for cookies and localStorage

From: Aaron Boodman <aa@google.com>
Date: Tue, 8 Sep 2009 16:55:27 -0700
Message-ID: <278fd46c0909081655g4faeda43lec762e4f7b327bb7@mail.gmail.com>
On Tue, Sep 8, 2009 at 4:27 PM, Chris Jones<cjones at mozilla.com> wrote:
> With my proposal, a web app that tests whether localStorage is available
> with |window.localStorage === undefined| would conclude that it's not,
> because that object would not be available until |window.transaction| or
> whatever was accessed. ?In Jeremy's and Benjamin's proposals, a web app
> using that would check would conclude that window.localStorage *is*
> available.

Aha, I had missed this (clever) idea in your original proposal. I also
do not have a strong opinion on having vs not having this as part of
the API.

- a
Received on Tuesday, 8 September 2009 16:55:27 UTC

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