mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #8293 - simartin:issue_8113, r=jdm
Issue #8113: Support file, about and data schemes as form action. Fix https://github.com/servo/servo/issues/8113 by supporting those schemes as form action and unit test the "about:blank" case <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8293) <!-- Reviewable:end -->
This commit is contained in:
commit
18f74a3d69
4 changed files with 36 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue