Index: Source/core/fileapi/File.idl |
diff --git a/Source/core/fileapi/File.idl b/Source/core/fileapi/File.idl |
index 56be7fcc6740aca782d455f172a30659619e4ee7..fdbe18db4fdda887c85918bd421123a17754e777 100644 |
--- a/Source/core/fileapi/File.idl |
+++ b/Source/core/fileapi/File.idl |
@@ -23,7 +23,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface File : Blob { |
+[ |
+ GlobalContext=Window&WorkerGlobalScope, |
+ 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; |