W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Re: Detailed review of 4.11. Client-side persistent storage

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 12 Feb 2008 17:50:48 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0802121749580.20115@hixie.dreamhostps.com>

On Tue, 12 Feb 2008, Anne van Kesteren wrote:
> On Tue, 12 Feb 2008 02:19:10 +0100, Ian Hickson <ian@hixie.ch> wrote:
> > I've made the spec go back to raising an exception when hitting the quota
> > limits, after discussing this with the Mozilla guys.
> 
> What were the arguments for changing it back to throwing an exception?

Not throwing arguments meant silent errors in the implied setter case 
(e.g. localStorage[key] = value), unless we made this case be different 
than calling the method directly, which seemed even worse from a 
consistency point of view.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 12 February 2008 17:51:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:12 GMT