[
https://issues.apache.org/jira/browse/CB-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702211#comment-13702211
]
ASF subversion and git services commented on CB-4017:
-----------------------------------------------------
Commit c01c1730e95cad2b97b98e5ef8e1089ad462fe24 in branch refs/heads/2.9.x from
[~max.woghiren]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=c01c173 ]
[CB-4017] Fixed behavior of DirectoryReader.
DirectoryReader.readEntries now returns all entries on the first call and an
empty list on all subsequent calls. (Technically, it returns batches of
entries until they're all returned, then returning an empty list; this
implementation just passes them all in one batch.)
> DirectoryReader.readEntries incorrectly returns all entries on each call
> ------------------------------------------------------------------------
>
> Key: CB-4017
> URL: https://issues.apache.org/jira/browse/CB-4017
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Max Woghiren
> Assignee: Max Woghiren
> Priority: Minor
> Fix For: 3.0.0
>
>
> According to the [W3C
> spec|http://www.w3.org/TR/file-system-api/#the-directoryreader-interface],
> DirectoryReader.readEntries should return Entries in blocks, eventually
> returning an empty list (once all Entries have been returned).
> The current implementation simply returns the entire list of Entries each
> time it's called.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira