Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer

MozReview-Commit-ID: HVyZ3E1XuLN
This commit is contained in:
Valentin Gosu
2018-02-26 20:43:45 +01:00
parent 06b84f67f7
commit bc25f5f950
21 changed files with 128 additions and 72 deletions

View File

@@ -777,7 +777,8 @@ HTMLFormElement::SubmitSubmission(HTMLFormSubmission* aFormSubmission)
int64_t postDataStreamLength = -1;
rv = aFormSubmission->GetEncodedSubmission(actionURI,
getter_AddRefs(postDataStream),
&postDataStreamLength);
&postDataStreamLength,
actionURI);
NS_ENSURE_SUBMIT_SUCCESS(rv);
rv = linkHandler->OnLinkClickSync(this, actionURI,