Re: key/value-based storage comments

On Tue, 11 Dec 2007, Anne van Kesteren wrote:
> 
> There are several parts of the document not updated with the new same-origin
> model. "Blocking third-party storage" is enforced by the API for instance.

I've updated the bullet point to clarify what is meant. It does still 
apply to the current model.


> This also applies to several implementation risks.

Could you elaborate?


> I think it may be better to let setItem() return a success boolean 
> rather than having it raise a INVALID_ACCESS_ERR exception when there's 
> not enough storage space. The latter may unnecessarily break sites if 
> the storage is not important for the functionality the site provides for 
> instance, but is used for tracking the user in one way or another.

Ok, done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 9 February 2008 04:51:07 UTC