W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1745 2574 remove impossible case (thanks to webidl

From: poot <cvsmail@w3.org>
Date: Wed, 24 Dec 2008 21:28:57 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081224122857.F3A452BC17@toro.w3.mag.keio.ac.jp>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT