[Webkit-unassigned] [Bug 46563] New: Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Sep 25 03:50:48 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=46563
Summary: Fix DirectoryReader's behavior to trigger only one
EntriesCallback per readEntries
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kinuko at chromium.org
CC: dumi at chromium.org, ericu at chromium.org
Current implementation assumes one DirectoryReader.readEntries() may triger multiple EntriesCallbacks (for each entries chunk) ending with an empty Entry array, but what the spec says is that one readEntries should yield only one EntriesCallback and we must maintain the status between multiple readEntries.
http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#the-directoryreader-interface
Currently the browser implementation doesn't support chunk reading, but we still trigger EntriesCallback twice for each readEntries() -- one for returning entries and the other one for an empty array to indicate the end. We should fix (a work-around fix for now) this behavior at least to make it conform to the spec.
--
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