Closed Bug 1726239 Opened 3 years ago Closed 3 years ago

Allow Firefox to restart with no windows open

Categories

(Toolkit :: Application Update, task, P1)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: bytesized, Assigned: bytesized)

References

Details

Attachments

(2 files)

Bug 1720742 will add a feature where Firefox on macOS can restart on its own to apply updates when no windows are open. When we do this, we want Firefox to re-launch in the same state - with no windows open. This bug will track adding functionality to allow us to restart this way.

Priority: -- → P1
Blocks: 1726460
See Also: → 1726465

Adds a silent restart flag to be used wiht nsIAppStartup::Quit. This flag will cause the env value MOZ_APP_SILENT_RESTART to be set on shutdown and read back and unset on startup.

This functionality is necessary for Bug 1720742.

Modify the command line handler such that it does not open any window on the initial application launch when the MOZ_APP_SILENT_RESTART env value is set.

Depends on D123019

Attachment #9236924 - Attachment description: Bug 1726239 - Add nsIAppStartup::eSilentRestart flag r=Gijs → Bug 1726239 - Add nsIAppStartup::eSilently flag r=Gijs
Blocks: 1726659
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: