You cannot assume the browser got it right unless you test that. On Jul 28, 2009 9:42 AM, <[email protected]> wrote:
On 2009/07/28 02:53:04, MikeSamuel wrote: > > You should require that the input be valid because oth... The spec says it should throw a DOMException INDEX_SIZE_ERR if it's not a long in the range [-1, length]. So do I need to do the check and throw the exception, or can I just pass index through and assume that the browser got it right? http://codereview.appspot.com/98051
