mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Issue #2532 - Fix a null pointer crash while doing dialog form submission
See Bug 1652699
This commit is contained in:
@@ -957,7 +957,7 @@ HTMLFormSubmission::GetFromForm(nsGenericHTMLElement* aForm,
|
||||
// If there isn't one, or if it does not have an open attribute, do
|
||||
// nothing.
|
||||
if (!dialog || !dialog->Open()) {
|
||||
return NS_OK;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsAutoString result;
|
||||
|
||||
Reference in New Issue
Block a user