Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1020)

Unified Diff: Source/core/fileapi/File.idl

Issue 57483002: Implement File constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased against master, updated patch. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fileapi/File.idl
diff --git a/Source/core/fileapi/File.idl b/Source/core/fileapi/File.idl
index 56be7fcc6740aca782d455f172a30659619e4ee7..17613741aea0aaa38371645aad6de7e755555810 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)
kinuko 2013/11/14 05:41:06 4 space indent?
pwnall-personal 2013/11/14 14:31:19 Done.
+] interface File : Blob {
readonly attribute DOMString name;
readonly attribute Date lastModifiedDate;
[RuntimeEnabled=DirectoryUpload] readonly attribute DOMString webkitRelativePath;

Powered by Google App Engine
This is Rietveld 408576698