Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[g] (1) Drop the syntax sugar for walking the keys of a Storage object.
git-svn-id: http://svn.whatwg.org/webapps@5806 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 29, 2011
1 parent ce62ddf commit 933e800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
10 changes: 2 additions & 8 deletions complete.html
Expand Up @@ -221,7 +221,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 25 January 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 29 January 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -74906,7 +74906,7 @@ <h4 id=the-storage-interface><span class=secno>11.2.1 </span>The <code><a href=#

<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);
Expand Down Expand Up @@ -74935,12 +74935,6 @@ <h4 id=the-storage-interface><span class=secno>11.2.1 </span>The <code><a href=#
all be associated with the same list of key/value pairs
simultaneously.</p>

<p>The object's <a href=#supported-property-indices>supported property indices</a> 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 <a href=#supported-property-indices>supported property
indices</a>.</p>

<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>
Expand Down
8 changes: 1 addition & 7 deletions source
Expand Up @@ -84804,7 +84804,7 @@ interface <dfn>MessagePort</dfn> {

<pre class="idl">interface <dfn>Storage</dfn> {
readonly attribute unsigned long <span title="dom-Storage-length">length</span>;
getter DOMString <span title="dom-Storage-key">key</span>(in unsigned long index);
DOMString <span title="dom-Storage-key">key</span>(in unsigned long index);
getter any <span title="dom-Storage-getItem">getItem</span>(in DOMString key);
setter creator void <span title="dom-Storage-setItem">setItem</span>(in DOMString key, in any value);
deleter void <span title="dom-Storage-removeItem">removeItem</span>(in DOMString key);
Expand Down Expand Up @@ -84837,12 +84837,6 @@ interface <dfn>MessagePort</dfn> {
all be associated with the same list of key/value pairs
simultaneously.</p>

<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>

<p>The <dfn 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>
Expand Down

0 comments on commit 933e800

Please sign in to comment.