Issue #8113: Support file, about and data schemes as form action.

This commit is contained in:
Simon Martin 2015-11-02 09:46:39 +01:00
parent a8cbc28643
commit 2b332a2138
4 changed files with 36 additions and 1 deletions

View file

@ -209,7 +209,8 @@ impl HTMLFormElement {
load_data.data = Some(parsed_data.into_bytes());
},
// https://html.spec.whatwg.org/multipage/#submit-get-action
("ftp", _) | ("javascript", _) | ("data", FormMethod::FormGet) => (),
("file", _) | ("about", _) | ("data", FormMethod::FormGet) |
("ftp", _) | ("javascript", _) => (),
_ => return // Unimplemented (data and mailto)
}