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

Jonas Sicking jonas at sicking.cc
Tue Sep 8 14:51:24 PDT 2009


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



More information about the whatwg mailing list