- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Fri, 05 Jun 2009 13:39:18 +0200
- To: public-html <public-html@w3.org>
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