mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement missing interfaces of File DOM object
This commit is contained in:
parent
f43009333f
commit
87fec3e026
8 changed files with 71 additions and 141 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue