mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2532 - Fix a null pointer crash while doing dialog form submission
See Bug 1652699
This commit is contained in:
parent
f598fe63cd
commit
f50948c82a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue