https://www.w3.org/Bugs/Public/show_bug.cgi?id=17277

           Summary: [FileAPI] It have no clear behavior about negative
                    index of FileList.item
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


>From current spec, http://www.w3.org/TR/FileAPI/#dfn-filelist
MUST return the indexth File object in the FileList. If there is no indexth
File object in the FileList, then this method must return null.
But when the index is negative number, string, null, or undefined and so on,
what should be returned, whether it should raise exception or return null
directly.

Currently, webkit based browser and firefox have the different behavior.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to