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

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 UTC