Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Fixup app update timer prefs

RESOLVED FIXED in Firefox 16



Firefox for Android
5 years ago
5 years ago


(Reporter: mfinkle, Unassigned)


16 Branch
Firefox 17

Firefox Tracking Flags

(firefox16 fixed)



(1 attachment)

Created attachment 653201 [details] [diff] [review]

Fennec has used the app.update.timer pref for a long time. It was used to start the UpdateTimer system which is used to kickoff many of the background timers used by Gecko, including the update and blocklist pings.

This pref was dropped and a new one added (app.update.timerFirstInterval). The new pref was added to mobile.js, but was placed in the MOZ_UPDATER section, which is only used for non-official builds (nightly and aurora). Therefore, Fennec was using the default 120 seconds for official builds.

This patch:
* removes the unused app.update.timer pref
* adds the two new prefs outside the MOZ_UPDATER section of mobile.js using the same 30secs as used by b2g.
* cleans up a dupe of app.update.showInstallUI

If my theory about Fennec using 120 secs before doing a blocklist ping is true, we should see an affect on ADIs.
Attachment #653201 - Flags: review?(blassey.bugs)
Attachment #653201 - Flags: review?(blassey.bugs) → review+

Comment 2

5 years ago
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Comment on attachment 653201 [details] [diff] [review]

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Since app.update.timer is no longer used, we stopped getting pings in 30sec and started getting pings in 2mins (the default) for release builds. On mobile devices this might be too long to get a ping before the browser is closed.
User impact if declined: should only affect blocklist ping timing
Testing completed (on m-c, etc.): a few nights
Risk to taking this patch (and alternatives if risky): might cause changes in reported ADIs (more accurate)
String or UUID changes made by this patch: none
Attachment #653201 - Flags: approval-mozilla-beta?
Attachment #653201 - Flags: approval-mozilla-aurora?
Comment on attachment 653201 [details] [diff] [review]

Too late for beta, we're already signed off for release on our b6. Approving for Aurora.
Attachment #653201 - Flags: approval-mozilla-beta?
Attachment #653201 - Flags: approval-mozilla-beta-
Attachment #653201 - Flags: approval-mozilla-aurora?
Attachment #653201 - Flags: approval-mozilla-aurora+
status-firefox16: --- → fixed
You need to log in before you can comment on or make changes to this bug.