W3C home > Mailing lists > Public > public-html@w3.org > December 2007

key/value-based storage comments

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 11 Dec 2007 15:06:11 +0100
To: "HTML WG" <public-html@w3.org>
Message-ID: <op.t26b4lnm64w2qv@annevk-t60.oslo.opera.com>

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. This also applies to several implementation risks.

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.

Anne van Kesteren
Received on Tuesday, 11 December 2007 14:16:37 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:28 UTC