Closed Bug 1560115 Opened 6 years ago Closed 6 years ago

app.update.interval is not honored

Categories

(Toolkit :: Application Update, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sworddragon2, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

  1. I did set app.update.interval to 2419200 (4 weeks).
  2. On a fixed day every week I did do a manual update check.

Actual results:

On a random moment a doorhanger popped up and noticed me that a new Firefox update was available (from version 67.0.2 to version 67.0.3).

Expected results:

Since I did manual update checks before 4 weeks have been passed an automatic notice that a new update is available sould not have been popped up.

Edit: I forgot to mention in the STR that app.update.checkInstallTime is set to false too.

Component: Untriaged → Application Update
Product: Firefox → Toolkit

The maximum value allowed is 86400 which is 24 hours.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

In case this is related, I am working on a way to improve the update notification experience in bug 1557660 though the implementation in bug 1557660 will likely not be what is implemented.

(In reply to Robert Strong (Robert they/them) [:rstrong] (use needinfo to contact me) from comment #2)

The maximum value allowed is 86400 which is 24 hours.

That involves the question why we can set the preference to higher values. But I guess this is just a limitation of the preferences backend itself as it probably uses 2^32 - 1 as maximum value for every integer - and eventually changing this (like min, max, enum, etc.) might be subject of another ticket.

(In reply to Robert Strong (Robert they/them) [:rstrong] (use needinfo to contact me) from comment #3)

In case this is related, I am working on a way to improve the update notification experience in bug 1557660 though the implementation in bug 1557660 will likely not be what is implemented.

That sounds promising as getting update notifcations while doing a manual check every week is a bit of an issue. And 1 week should be usually good enough for update checks.

But I'm curious why app.update.interval does not suport higher values (at least a few weeks).

The worst case scenario is an update that fixes an active security exploit and the max value makes it so users will have the update check performed at a maximum of 24 hours.

See Also: → 1560170
See Also: → 1557660
You need to log in before you can comment on or make changes to this bug.