[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:54:47 PDT 2012


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





--- Comment #12 from Li Yin <li.yin at intel.com>  2012-06-01 07:54:46 PST ---
(In reply to comment #11)
> (From update of attachment 145301 [details])
> 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?

Okay, I will do that.

> 
> > 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)'?
> 

In fact, there are two sub test case, one for two files, another for no file in FileList.

> > 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.

Okay, I will update it.

-- 
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