[webstorage] IndexGetter Methods Should Not Throw Exception

Hi,
   The IndexGetter methods for both the Storage interface (key(index)) 
and the SQLResultSetRowList interface (item(index)) are currently 
defined to thrown an INDEX_SIZE_ERR when the index is out of bounds.

For the following reasons, the spec should instead say that null should 
be returned instead.

* Consistency with other DOM APIs, such as NodeList.item()
* Doesn't require authors to use try/catch blocks to catch unexpected
   errors.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Friday, 5 June 2009 11:40:03 UTC