Closed Bug 1216604 Opened 8 years ago Closed 8 years ago

Ensure that Mozilla list are downloaded immediately in new profiles

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla44
Tracking Status
firefox44 --- verified

People

(Reporter: francois, Assigned: francois)

References

Details

Attachments

(1 file)

As a result of fixing bug 1175562, we now have to wait up to 5 minutes before the TP list is available and TP is working (see https://bugzilla.mozilla.org/show_bug.cgi?id=1177085#c68).

We should ship with "browser.safebrowsing.provider.mozilla.nextupdatetime = 42" or similar in order to force an immediate update the first time.
Assignee: nobody → francois
Status: NEW → ASSIGNED
Note: in terms of server load, this change makes 44 act like 42 and 43 so we're not making it worse.
Attached patch bug1216604.patchSplinter Review
Attachment #8676589 - Flags: review?(gpascutto)
Comment on attachment 8676589 [details] [diff] [review]
bug1216604.patch

Review of attachment 8676589 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/libpref/init/all.js
@@ +4811,5 @@
>  
>  pref("browser.safebrowsing.provider.mozilla.lists", "mozstd-track-digest256,mozstd-trackwhite-digest256,mozfull-track-digest256");
>  pref("browser.safebrowsing.provider.mozilla.updateURL", "https://shavar.services.mozilla.com/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
>  pref("browser.safebrowsing.provider.mozilla.gethashURL", "https://shavar.services.mozilla.com/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
> +pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1"); // date in the past to force immediate download in new profiles

The common style in all.js seems to be to put the comment on a separate line before.
Attachment #8676589 - Flags: review?(gpascutto) → review+
https://hg.mozilla.org/mozilla-central/rev/d30f27ee811a
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
(In reply to François Marier [:francois] from comment #0)
> As a result of fixing bug 1175562, we now have to wait up to 5 minutes
> before the TP list is available and TP is working
TP works now right after the browser starts.
Verified fixed FF 44.0a1 (2015-10-25) Win 7.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.