diff options
author | Zhen Zhang <izgzhen@gmail.com> | 2016-05-10 20:23:17 +0800 |
---|---|---|
committer | Zhen Zhang <izgzhen@gmail.com> | 2016-05-11 22:35:21 +0800 |
commit | 87fec3e026484d84b34cfa989dcbc6173bdcc161 (patch) | |
tree | 6808ddc2a491a29369696dc2d335ddfee38bfd3e /components/script/dom/formdata.rs | |
parent | f43009333fb919421e584e38af3e8aaa0ff4fd1e (diff) | |
download | servo-87fec3e026484d84b34cfa989dcbc6173bdcc161.tar.gz servo-87fec3e026484d84b34cfa989dcbc6173bdcc161.zip |
Implement missing interfaces of File DOM object
Diffstat (limited to 'components/script/dom/formdata.rs')
-rw-r--r-- | components/script/dom/formdata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/formdata.rs b/components/script/dom/formdata.rs index 6f6b47d42ce..f396a79660c 100644 --- a/components/script/dom/formdata.rs +++ b/components/script/dom/formdata.rs @@ -128,7 +128,7 @@ impl FormData { Some(fname) => { let global = self.global(); let name = DOMString::from(fname.0); - Root::upcast(File::new(global.r(), value, name)) + Root::upcast(File::new(global.r(), value.get_data().clone(), name, None, "")) } None => Root::from_ref(value) } |