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

[whatwg] Web Storage: apparent contradiction in spec

From: Jeremy Orlow <jorlow@chromium.org>
Date: Thu, 3 Sep 2009 08:09:04 +0900
Message-ID: <5dd9e5c50909021609u29bc2e1fpf0d93ccbf9a2f30e@mail.gmail.com>
On Thu, Sep 3, 2009 at 4:50 AM, Jens Alfke <snej at google.com> wrote:

>
> On Sep 2, 2009, at 11:36 AM, Peter Kasting wrote:
>
>  It still seems like you are interpreting this statement as saying that the
>> UA must not allow users to keep/clear cookies separately from Local Storage
>> data.
>>
>
> Yes; that seemed the most direct interpretation of its language.
>
>  While on the face of it that seems like a possible interpretation, I think
>> it's clear that this would be a lousy user experience and detrimental to
>> developers as well.  Therefore I am convinced that the intent of the
>> statement is to say that UAs must give users the same _abilities_ to see and
>> clear Local Storage data as they already have with cookies, not that the two
>> things should always be lumped together and made indistinguishable.
>>
>
> Then we are in violent agreement :) Good. As a newbie here I was less
> inclined to give the spec the benefit of the doubt than you were.
>
> So do the rest of us agree about what the statement should mean? And if so,
> how could it be rephrased to say that more unambiguously? I think Peter's
> quote above is a good start.
>

The fact that we talked about this so long demonstrates how unclear it is.
 I agree that Peter's reading is one possible interpretation, but I worry
that not everyone will read and implement it that way.  An extra sentence or
two would go a long way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090903/1fa0ca84/attachment.htm>
Received on Wednesday, 2 September 2009 16:09:04 UTC

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