Closed Bug 1923264 Opened 1 month ago Closed 29 days ago

The update selection could check for unsupported updates

Categories

(Toolkit :: Application Update, defect)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: pierov, Assigned: pierov)

Details

Attachments

(1 file)

On Tor Browser, we moved the check for unsupported updates on the client rather than the update server to limit the data we collect from users.
We noticed that UpdateService.#selectUpdate could check whether an update is unsupported, and take it instead of a more recent, but unsupported, update.
I don't know it this is ever a case for Firefox, since the unsupported="true" attribute is set on the update responses by the server, if I understand correctly.

UpdateService.#selectUpdate currently chooses always the most recent
update even when unsupported and an older but supported one is
available.
This commit makes #selectUpdate discard the unsupported update if a
supported alternative is found.

Depends on D224895

Severity: -- → S3
Pushed by rsteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2e038b6d6cc Discard unsupported updates in selectUpdate. r=bytesized,nalexander
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: