W3C home > Mailing lists > Public > public-html-commits@w3.org > November 2009

html5/webstorage Overview.html,1.95,1.96

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 26 Nov 2009 01:37:53 +0000
To: public-html-commits@w3.org
Message-Id: <E1NDTIv-0002rZ-1r@lionel-hutz.w3.org>
Update of /sources/public/html5/webstorage
In directory hutz:/tmp/cvs-serv10987

Modified Files:
	Overview.html 
Log Message:
Mention that .localStorage can throw in the case of policy decisions. (whatwg r4381)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- Overview.html	13 Nov 2009 01:53:47 -0000	1.95
+++ Overview.html	26 Nov 2009 01:37:50 -0000	1.96
@@ -169,7 +169,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>Web Storage</h1>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-13-november-2009">Editor's Draft 13 November 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-26-november-2009">Editor's Draft 26 November 2009</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/webstorage/">http://www.w3.org/TR/webstorage/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -232,7 +232,7 @@
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
 
-  This specification is the 13 November 2009 Editor's Draft.
+  This specification is the 26 November 2009 Editor's Draft.
   </p><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -518,7 +518,12 @@
   for security reasons or when requested to do so by the user. User
   agents should always avoid deleting data while a script that could
   access that data is running.<p>When the <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code>
-  attribute is accessed, the user agent must run the following steps:<ol><li><p>If the <code>Document</code>'s <span>effective script
+  attribute is accessed, the user agent must run the following steps:<ol><li><p>The user agent may raise a <code>SECURITY_ERR</code>
+   exception instead of returning a <code><a href="#storage-0">Storage</a></code> object if the
+   request violates a policy decision (e.g. if the user agent is
+   configured to not allow the page to persist data).</li>
+
+   <li><p>If the <code>Document</code>'s <span>effective script
    origin</span> is not the <span>same origin</span> as the
    <code>Document</code>'s <span>origin</span>, then throw a
    <code>SECURITY_ERR</code> exception and abort these steps.</li>
Received on Thursday, 26 November 2009 01:38:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 November 2009 01:38:01 GMT