diff options
Diffstat (limited to 'Source/WebCore/fileapi/File.idl')
-rw-r--r-- | Source/WebCore/fileapi/File.idl | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Source/WebCore/fileapi/File.idl b/Source/WebCore/fileapi/File.idl index 1d9dc51fc..372bd8155 100644 --- a/Source/WebCore/fileapi/File.idl +++ b/Source/WebCore/fileapi/File.idl @@ -23,15 +23,21 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +typedef (ArrayBufferView or ArrayBuffer) BufferSource; +typedef (BufferSource or Blob or USVString) BlobPart; + +// FIXME: This should be exposed on Workers as well. [ - JSGenerateToNativeObject, + Constructor(sequence<BlobPart> fileBits, USVString fileName, optional FilePropertyBag options), + ExportMacro=WEBCORE_EXPORT, + Exposed=(Window), JSGenerateToJSObject, - JSNoStaticTables + JSGenerateToNativeObject, ] interface File : Blob { readonly attribute DOMString name; -#if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT - readonly attribute Date lastModifiedDate; -#endif - [Conditional=DIRECTORY_UPLOAD] readonly attribute DOMString webkitRelativePath; + readonly attribute long long lastModified; }; +dictionary FilePropertyBag : BlobPropertyBag { + long long lastModified; +}; |