- From: <bugzilla@jessica.w3.org>
- Date: Fri, 01 Jun 2012 00:47:28 +0000
- To: public-webapps@w3.org
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: arun@mozilla.com ReportedBy: li.yin@intel.com QAContact: public-webapps-bugzilla@w3.org CC: public-webapps@w3.org >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.
Received on Friday, 1 June 2012 00:47:31 UTC