1
0
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:
Moonchild
2024-06-15 12:29:50 +02:00
committed by roytam1
parent f598fe63cd
commit f50948c82a
+1 -1
View File
@@ -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;