Closed Bug 1726659 Opened 3 months ago Closed 3 months ago

Prevent update UI on a Silent Restart

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 1726239 adds Silent Restart (restart with opening any windows) functionality to Firefox in order to facilitate a no-window restart to apply updates (Bug 1720742).

When we restart this way, we should not show any user interface during the update. This will be quite similar to the existing feature where the updater doesn't display any UI when the callback is a background task.

Another patch on this stack will change the functionality of sCallbackIsBackgroundTask and IsCallbackBackgroundTask so that they also apply to when we do a silent restart (see Bug 1726239). This makes their names less applicable to how they will function going forward. The renaming will be consolidated to this patch to make the other one easier to read.

This also renames BACKGROUND_TASK_NEEDED_ELEVATION_ERROR, since we will want to use that same error code when a macOS update needs an elevation dialog.

Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/454a24d81e37
Rename sCallbackIsBackgroundTask to sUpdateSilently r=agashlin
https://hg.mozilla.org/integration/autoland/rev/57e5e1acf971
Prevent update UI on a Silent Restart r=agashlin
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Blocks: 1699545
You need to log in before you can comment on or make changes to this bug.