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

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 8 Sep 2009 14:51:24 -0700
Message-ID: <63df84f0909081451pbdf45eej2b959c6ffba5725d@mail.gmail.com>
On Tue, Sep 8, 2009 at 1:38 PM, Chris Jones<cjones at mozilla.com> wrote:
> No one has responded directly to my original proposal of making
> |window.localStorage === undefined| until |window.transaction| or whatever
> has been accessed. ?Unlike your proposal and a similar one from Jeremy, mine
> is a "safe" (non-racy) way for spec-compliant UAs to "bend" backwards
> compatibility without explicitly breaking it.

How is that not breaking compatibility? Any existing pages will
directly access window.localStorage to read/write data. Such pages
would break with your proposal, no?

/ Jonas
Received on Tuesday, 8 September 2009 14:51:24 UTC

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