W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2009

html5/webstorage Overview.html,1.47,1.48

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 01 Jul 2009 04:44:29 +0000
To: public-html-commits@w3.org
Message-Id: <E1MLrgL-0005gj-UH@lionel-hutz.w3.org>
Update of /sources/public/html5/webstorage
In directory hutz:/tmp/cvs-serv21851

Modified Files:
Log Message:
Indexing an object should return null, not throw an exception, when out of range. (whatwg r3349)

Index: Overview.html
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- Overview.html	29 Jun 2009 11:24:37 -0000	1.47
+++ Overview.html	1 Jul 2009 04:44:27 -0000	1.48
@@ -173,7 +173,7 @@
    <h1>Web Storage</h1>
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 29 June 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 1 July 2009</h2>
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -241,7 +241,7 @@
   specification's progress along the W3C Recommendation track.
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 29 June 2009 Editor's Draft.
+  This specification is the 1 July 2009 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
@@ -455,8 +455,7 @@
   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 [can't,
   unsigned]--> greater than or equal to the number of key/value pairs
-  in the object, then this method must raise an
-  <code>INDEX_SIZE_ERR</code> exception.<p>The <span>names of the supported named properties</span> on a
+  in the object, then this method must return null.<p>The <span>names of the supported named properties</span> on a
   <code><a href="#storage-0">Storage</a></code> object are the keys of each key/value pair
   currently present in the list associated with the object.<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
@@ -1139,8 +1138,7 @@
   zero, in which case there are no <span>supported indexed
   properties</span>.<p>The <dfn id="dom-sqlresultsetrowlist-item" title="dom-SQLResultSetRowList-item"><code>item(<var title="">index</var>)</code></dfn> attribute must return the row
   with the given index <var title="">index</var>. If there is no such
-  row, then the method must raise an <code>INDEX_SIZE_ERR</code>
-  exception.<p>Each row must be represented by a native ordered dictionary data
+  row, then the method must return null.<p>Each row must be represented by a native ordered dictionary data
   type. In the JavaScript binding, this must be <code>Object</code>.
   Each row object must have one property (or dictionary entry) per
   column, with those properties enumerating in the order that these
Received on Wednesday, 1 July 2009 04:44:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:09:23 UTC