[Webkit-unassigned] [Bug 45553] New: Make FileEntry and DirectoryEntry methods accessible via Entry instance
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 10 11:30:45 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45553
Summary: Make FileEntry and DirectoryEntry methods accessible
via Entry instance
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kinuko at chromium.org
CC: fishd at chromium.org, dumi at chromium.org,
ericu at chromium.org
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.
--
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