Chromium Code Reviews| Index: Source/core/fileapi/File.idl |
| diff --git a/Source/core/fileapi/File.idl b/Source/core/fileapi/File.idl |
| index 56be7fcc6740aca782d455f172a30659619e4ee7..d59fcdb44b1d04423ec7379e4698a1408cbdc3bf 100644 |
| --- a/Source/core/fileapi/File.idl |
| +++ b/Source/core/fileapi/File.idl |
| @@ -23,7 +23,11 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -interface File : Blob { |
| +[ |
| + GlobalContext=Window&WorkerGlobalScope, |
| + CustomConstructor, |
|
Inactive
2013/11/04 14:13:11
There is no File constructor that takes no argumen
pwnall-personal
2013/11/04 17:16:25
Done.
I also tweaked the IDL for the Blob construc
|
| + CustomConstructor(sequence<any> blobParts, DOMString fileName, optional BlobPropertyBag options) |
| +] interface File : Blob { |
| readonly attribute DOMString name; |
| readonly attribute Date lastModifiedDate; |
| [RuntimeEnabled=DirectoryUpload] readonly attribute DOMString webkitRelativePath; |