Bug 69664

Summary: [FileSystem API] Directories can not contain more than 5000 entries
Product: WebKit Reporter: Mark Pilgrim (Google) <pilgrim>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ericu
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Mark Pilgrim (Google) 2011-10-07 13:37:37 PDT
According to http://dev.w3.org/2009/dap/file-system/pub/FileSystem/#directories , "Directories must not be made to contain more than 5000 entries." This test creates 5000 files in the root directory, verifies that all 5000 files were successfully created, then attempts to create another file and logs the result.

Expected behavior: throw FileError.INVALID_MODIFICATION_ERR
Actual behavior: no exception, 5001st file is created
Comment 1 Mark Pilgrim (Google) 2011-10-07 13:39:03 PDT
Created attachment 110208 [details]
Patch