Bug 1820403 - Skip parts of form submission when the method is dialog. r=dom-core,sefeng
https://github.com/whatwg/html/pull/8943 moved dialog submission in the form submission algorithm from step 24 to step 11. Differential Revision: https://phabricator.services.mozilla.com/D183168
This commit is contained in:
@@ -854,7 +854,7 @@ nsresult HTMLFormElement::SubmitSubmission(
|
||||
return rv;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-dialog
|
||||
// https://html.spec.whatwg.org/#concept-form-submit step 11
|
||||
nsresult HTMLFormElement::SubmitDialog(DialogFormSubmission* aFormSubmission) {
|
||||
// Close the dialog subject. If there is a result, let that be the return
|
||||
// value.
|
||||
|
||||
Reference in New Issue
Block a user