W3C home > Mailing lists > Public > public-html-diffs@w3.org > January 2011

webstorage; hixie: Drop the syntax sugar for walking the keys of a Storage object. (whatwg r5806)

From: poot <cvsmail@w3.org>
Date: Fri, 28 Jan 2011 19:19:57 -0500
To: public-html-diffs@w3.org
Message-Id: <E1PiyXl-0004WR-CH@jay.w3.org>
webstorage; hixie: Drop the syntax sugar for walking the keys of a
Storage object. (whatwg r5806)

http://dev.w3.org/cvsweb/html5/webstorage/Overview.html?r1=1.158&r2=1.159&f=h
http://html5.org/tools/web-apps-tracker?from=5805&to=5806

===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- Overview.html	20 Jan 2011 20:55:27 -0000	1.158
+++ Overview.html	29 Jan 2011 00:18:37 -0000	1.159
@@ -229,7 +229,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-20-january-2011">Editor's Draft 20 January 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-29-january-2011">Editor's Draft 29 January 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>
@@ -322,7 +322,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 20 January 2011 Editor's Draft.
+  This specification is the 29 January 2011 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
@@ -497,7 +497,7 @@
   the official term ECMAScript, since the term JavaScript is more
   widely known. <a href="#refsECMA262">[ECMA262]</a><h2 id="storage"><span class="secno">4 </span>The API</h2><h3 id="the-storage-interface"><span class="secno">4.1 </span>The <code><a href="#storage-0">Storage</a></code> interface</h3><pre class="idl">interface <dfn id="storage-0">Storage</dfn> {
   readonly attribute unsigned long <a href="#dom-storage-length" title="dom-Storage-length">length</a>;
-  getter DOMString <a href="#dom-storage-key" title="dom-Storage-key">key</a>(in unsigned long index);
+  DOMString <a href="#dom-storage-key" title="dom-Storage-key">key</a>(in unsigned long index);
   getter any <a href="#dom-storage-getitem" title="dom-Storage-getItem">getItem</a>(in DOMString key);
   setter creator void <a href="#dom-storage-setitem" title="dom-Storage-setItem">setItem</a>(in DOMString key, in any value);
   deleter void <a href="#dom-storage-removeitem" title="dom-Storage-removeItem">removeItem</a>(in DOMString key);
@@ -521,11 +521,7 @@
   the <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code> and <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attributes. Multiple
   separate objects implementing the <code><a href="#storage-0">Storage</a></code> interface can
   all be associated with the same list of key/value pairs
-  simultaneously.<p>The object's <span>supported property indices</span> are the
-  numbers in the range zero to one less than the number of key/value
-  pairs currently present in the list associated with the object. If
-  the list is empty, then there are no <span>supported property
-  indices</span>.<p>The <dfn id="dom-storage-length" title="dom-Storage-length"><code>length</code></dfn>
+  simultaneously.<p>The <dfn id="dom-storage-length" title="dom-Storage-length"><code>length</code></dfn>
   attribute must return the number of key/value pairs currently
   present in the list associated with the object.<p>The <dfn id="dom-storage-key" title="dom-Storage-key"><code>key(<var title="">n</var>)</code></dfn> method must return the name of the
   <var title="">n</var>th key in the list. The order of keys is
Received on Saturday, 29 January 2011 00:19:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 29 January 2011 00:20:01 GMT