mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -46,8 +46,16 @@ impl FormData {
|
|||
Self::new_with_proto(form_datums, global, None)
|
||||
}
|
||||
|
||||
fn new_with_proto(form_datums: Option<Vec<FormDatum>>, global: &GlobalScope, proto: Option<HandleObject>) -> DomRoot<FormData> {
|
||||
reflect_dom_object2(Box::new(FormData::new_inherited(form_datums)), global, proto)
|
||||
fn new_with_proto(
|
||||
form_datums: Option<Vec<FormDatum>>,
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
) -> DomRoot<FormData> {
|
||||
reflect_dom_object2(
|
||||
Box::new(FormData::new_inherited(form_datums)),
|
||||
global,
|
||||
proto,
|
||||
)
|
||||
}
|
||||
|
||||
// https://xhr.spec.whatwg.org/#dom-formdata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue