Bug 46842

Summary: Add removeRecursively to WebKit WebFileSystem API
Product: WebKit Reporter: Kinuko Yasuda <kinuko>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dumi, ericu, fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 42903    
Attachments:
Description Flags
Patch dumi: review+

Kinuko Yasuda
Reported 2010-09-29 14:59:52 PDT
For the recent addition of FileSystem API. An additional flag for existing remove() or a new method is needed. http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#the-directoryentry-interface http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#widl-DirectoryEntry-removeRecursively interface DirectoryEntry : Entry { void removeRecursively (VoidCallback successCallback, optional ErrorCallback errorCallback); };
Attachments
Patch (2.12 KB, patch)
2010-09-29 15:01 PDT, Kinuko Yasuda
dumi: review+
Kinuko Yasuda
Comment 1 2010-09-29 15:01:45 PDT
Dumitru Daniliuc
Comment 2 2010-09-29 17:22:01 PDT
Comment on attachment 69255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69255&action=review r=me. > WebKit/chromium/public/WebFileSystem.h:69 > + virtual void removeRecursively(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); } const WebString& path: might have to remove the name of the argument for now, or some compilers might complain that it's not used.
Kinuko Yasuda
Comment 3 2010-09-29 20:02:07 PDT
Note You need to log in before you can comment on or make changes to this bug.