Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Indexing an object should return null, not throw an except…
…ion, when out of range.

git-svn-id: http://svn.whatwg.org/webapps@3349 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 1, 2009
1 parent d79c01a commit df29acf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source
Expand Up @@ -59893,8 +59893,7 @@ style/default.css</pre>
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>
in the object, then this method must return null.</p>

<p>The <span>names of the supported named properties</span> on a
<code>Storage</code> object are the keys of each key/value pair
Expand Down Expand Up @@ -61003,8 +61002,7 @@ interface <dfn>SQLTransactionSync</dfn> {
<p>The <dfn 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>
row, then the method must return null.</p>

<p>Each row must be represented by a native ordered dictionary data
type. In the JavaScript binding, this must be <code>Object</code>.
Expand Down

0 comments on commit df29acf

Please sign in to comment.