Make FileEntry and DirectoryEntry methods accessible via Entry instance. Usually user script obtains an Entry (either file or directory) via callbacks as an 'Entry' instance, but since there's no concept of 'cast' in Javascript the script cannot call FileEntry- or DirectoryEntry-specific methods on the returned 'Entry' instance. Probably we could add some tricks in the binding code, or the quickest short-term solution would be: 1. (in idl) adding FileEntry- and DirectoryEntry-specific methods to Entry 2. (in c++ impl) making the methods virtual 3. throws an exception if Entry's base implementation is called.
Created attachment 67219 [details] Patch Work-around patch
Created attachment 67495 [details] Patch
Comment on attachment 67495 [details] Patch great!
Created attachment 67497 [details] Patch Removed unnecessary changes.
(In reply to comment #3) > (From update of attachment 67495 [details]) > great! Oops... mid-air collision :( Could you r+ one more time on the new one? Thanks so much. https://bugs.webkit.org/attachment.cgi?id=67497&action=edit
Committed r67443: <http://trac.webkit.org/changeset/67443>