[Webkit-unassigned] [Bug 77899] IETC: FileList.item(-1) should return null instead of raising

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 07:42:52 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=77899





--- Comment #11 from Kinuko Yasuda <kinuko at chromium.org>  2012-06-01 07:42:51 PST ---
(From update of attachment 145301)
View in context: https://bugs.webkit.org/attachment.cgi?id=145301&action=review

> LayoutTests/ChangeLog:9
> +        undefined, null, normal index(0~length-1), more than length index.

Can we add a link to the IETC test and the corresponding spec section so that readers can have an idea why undefined and null are mapped to +0?

> LayoutTests/fast/files/file-list-test.html:21
> +    }

If we're only testing single test case why did you add this and the recursion call 'doTest(++globalIndex)'?

> LayoutTests/fast/files/file-list-test.html:28
> +    shouldBeNull("files.item(2)");

nit: you're mixing single quote and double quota in the same file.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list