- From: poot <cvsmail@w3.org>
- Date: Wed, 24 Dec 2008 21:28:57 +0900 (JST)
- To: public-html-diffs@w3.org
remove impossible case (thanks to webidl for making this unambiguous) (credit: pt) (whatwg r2574) setItem(key, value) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1745.html#dom-storage-setitem key(n) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1745.html#dom-storage-key getItem(key) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1745.html#dom-storage-getitem http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1744&r2=1.1745&f=h http://html5.org/tools/web-apps-tracker?from=2573&to=2574 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1744 retrieving revision 1.1745 diff -u -d -r1.1744 -r1.1745 --- Overview.html 24 Dec 2008 12:20:12 -0000 1.1744 +++ Overview.html 24 Dec 2008 12:22:59 -0000 1.1745 @@ -31407,9 +31407,10 @@ must not.) <!--The order of keys may differ between instances of the <code>Storage</code> interface accessing the same list. [removed for now for clarity, but if people ask, put it back. this is part of the - spec.]--> If <var title="">n</var> is less than zero or greater than - or equal to the number of key/value pairs in the object, then this - method must raise an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code> exception.<p>The <dfn id=dom-storage-getitem title=dom-Storage-getItem><code>getItem(<var title="">key</var>)</code></dfn> method must return the current + spec.]--> If <var title="">n</var> is <!--less than zero or [can't, + unsigned]--> greater than or equal to the number of key/value pairs + in the object, then this method must raise an + <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code> exception.<p>The <dfn id=dom-storage-getitem title=dom-Storage-getItem><code>getItem(<var title="">key</var>)</code></dfn> method must return the current value associated with the given <var title="">key</var>. If the given <var title="">key</var> does not exist in the list associated with the object then this method must return null.<p>The <dfn id=dom-storage-setitem title=dom-Storage-setItem><code>setItem(<var title="">key</var>, <var title="">value</var>)</code></dfn> method
Received on Wednesday, 24 December 2008 12:29:34 UTC