From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/fileapi/File.idl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'Source/WebCore/fileapi/File.idl') 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 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; +}; -- cgit v1.2.1