Bug 1314249 - if the target changes, assume we should not pass an opener ref, r=smaug

MozReview-Commit-ID: 7DBrRW1WiMP
This commit is contained in:
Gijs Kruitbosch
2016-11-16 16:31:42 +00:00
parent 9549e8af6a
commit 12f9e4430e
7 changed files with 43 additions and 3 deletions

View File

@@ -829,7 +829,7 @@ HTMLFormElement::SubmitSubmission(HTMLFormSubmission* aFormSubmission)
rv = linkHandler->OnLinkClickSync(this, actionURI,
target.get(),
NullString(),
postDataStream, nullptr,
postDataStream, nullptr, false,
getter_AddRefs(docShell),
getter_AddRefs(mSubmittingRequest));
NS_ENSURE_SUBMIT_SUCCESS(rv);