diff options
Diffstat (limited to 'components/script/dom/file.rs')
-rw-r--r-- | components/script/dom/file.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/file.rs b/components/script/dom/file.rs index 5ac612e8ecd..ce0a4b766b1 100644 --- a/components/script/dom/file.rs +++ b/components/script/dom/file.rs @@ -20,7 +20,8 @@ impl File { fn new_inherited(global: &GlobalRef, type_: BlobTypeId, _file_bits: JSRef<Blob>, name: DOMString) -> File { File { - blob: Blob::new_inherited(global, type_, None), + //TODO: get type from the underlying filesystem instead of "".to_string() + blob: Blob::new_inherited(global, type_, None, ""), name: name, } // XXXManishearth Once Blob is able to store data |