Open Bug 2094487 Opened 7 days ago Updated 6 days ago

Headless startup errors still show a MessageBox on Windows

Categories

(Toolkit :: Startup and Profile System, defect)

Unspecified
Windows
defect

Tracking

()

ASSIGNED

People

(Reporter: spohl, Assigned: spohl)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

In headless mode, nsAppRunner.cpp reports profile startup failures (profile missing, profile locked, profile downgrade, encryption mismatch) through Output(). On Windows, Output() shows a MessageBox, which nothing can dismiss in a headless session (bug 2069767 comment 3). Bug 2062988 added two of these headless branches to avoid a modal dialog, but only on macOS and Linux does Output() print to stderr.

This bug switches those four headless branches to printf_stderr. The non-headless behavior of Output() stays as it is and is covered by bug 2069767.

On Windows, Output() shows a MessageBox, which nothing can dismiss in headless mode.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: