webstorage; hixie: Exceptions DOM Core/WebIDL fix. (whatwg r6602)

webstorage; hixie: Exceptions DOM Core/WebIDL fix. (whatwg r6602)

http://dev.w3.org/cvsweb/html5/webstorage/Overview.html?r1=1.182&r2=1.183&f=h
http://html5.org/tools/web-apps-tracker?from=6601&to=6602

===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- Overview.html 10 Sep 2011 01:26:22 -0000 1.182
+++ Overview.html 30 Sep 2011 00:25:02 -0000 1.183
@@ -213,7 +213,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-10-september-2011">Editor's Draft 10 September 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-30-september-2011">Editor's Draft 30 September 2011</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>
@@ -318,7 +318,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 10 September 2011 Editor's Draft.
+  This specification is the 30 September 2011 Editor's Draft.
   </p><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
@@ -511,8 +511,8 @@
   associated with the object.<p>If it does not, then a new key/value pair must be added to the
   list, with the given <var title="">key</var> and with its value set
   to <var title="">value</var>.<p>If the given <var title="">key</var> <em>does</em> exist in the
-  list, then it must have its value updated to <var title="">value</var>.<p>If it couldn't set the new value, the method must raise an
-  <code>QUOTA_EXCEEDED_ERR</code> exception. (Setting could fail if,
+  list, then it must have its value updated to <var title="">value</var>.<p>If it couldn't set the new value, the method must throw an
+  <code>QuotaExceededError</code> exception. (Setting could fail if,
   e.g., the user has disabled storage for the site, or if the quota
   has been exceeded.)<p>The <dfn id="dom-storage-removeitem" title="dom-Storage-removeItem"><code>removeItem(<var title="">key</var>)</code></dfn> method must cause the key/value
   pair with the given <var title="">key</var> to be removed from the
@@ -595,13 +595,13 @@
   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,
   which are known as the <dfn id="storage-object-initialization-steps"><code>Storage</code> object
-  initialization steps</dfn>:</p><ol><li><p>The user agent may throw a <code>SECURITY_ERR</code>
+  initialization steps</dfn>:</p><ol><li><p>The user agent may throw a <code>SecurityError</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>origin</span> is not a
-   scheme/host/port tuple, then throw a <code>SECURITY_ERR</code>
+   scheme/host/port tuple, then throw a <code>SecurityError</code>
    exception and abort these steps.</li>
 
    <li><p>Check to see if the user agent has allocated a local storage
@@ -627,7 +627,7 @@
   determining the number of properties present, or as part of the
   execution of any of the methods or attributes defined on the
   <code><a href="#storage-0">Storage</a></code> interface, the user agent must first
-  <span>obtain the storage mutex</span>.<h4 id="security-localStorage"><span class="secno">4.3.1 </span>Security</h4><p>User agents must raise a <code>SECURITY_ERR</code> exception
+  <span>obtain the storage mutex</span>.<h4 id="security-localStorage"><span class="secno">4.3.1 </span>Security</h4><p>User agents must throw a <code>SecurityError</code> exception
   whenever any of the members of a <code><a href="#storage-0">Storage</a></code> object
   originally returned by the <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attribute are accessed
   by scripts whose <span>effective script origin</span> is not the

Received on Friday, 30 September 2011 00:25:26 UTC