Remove old safebrowsing store from profiles
Categories
(Toolkit :: Safe Browsing, defect, P5)
Tracking
()
People
(Reporter: gcp, Unassigned, Mentored)
References
Details
(Whiteboard: [lang=?])
Attachments
(1 file)
Bug 673470 introduces the new safebrowsing store. We should remove the old store when users aren't expected to switch to a Firefox version using the old one any more. Bug 673470 landed in Firefox 13, so this would be for when that is released, namely Firefox 16.
Reporter | ||
Updated•12 years ago
|
(In reply to Gian-Carlo Pascutto (:gcp) from comment #0) > Bug 673470 introduces the new safebrowsing store. We should remove the old > store when users aren't expected to switch to a Firefox version using the > old one any more. Bug 673470 landed in Firefox 13, so this would be for when > that is released, namely Firefox 16. Why not land this cleanup code in Firefox 13? This way, it can bake in the nightlies and in Aurora.
Reporter | ||
Comment 2•12 years ago
|
||
Because Firefox 13 is in the Nightlies. If users switch between Nightly and Aurora, they will be a) without protection b) downloading the complete database on every browser start.
Reporter | ||
Comment 3•12 years ago
|
||
Bug 673470 landed in Nightlies for Firefox 17, so scheduling this for Firefox 19 or 20.
Reporter | ||
Updated•12 years ago
|
Updated•12 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Updated•8 years ago
|
Comment 5•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Updated•6 years ago
|
Comment 6•5 years ago
|
||
:gcp
May I know the status of old safebrowsing store?
Updated•5 years ago
|
Reporter | ||
Comment 7•5 years ago
|
||
Should be safe to delete for about 7 years :-)
Reporter | ||
Comment 8•5 years ago
|
||
Basically the file urlclassifier3.sqlite can be deleted from the profile.
Comment 9•5 years ago
|
||
:gcp
the file doesn't exist but the usage of 'urlclassifier3.sqlite' exist
https://searchfox.org/mozilla-central/search?q=urlclassifier3.sqlite&case=false®exp=false&path=
Reporter | ||
Comment 10•5 years ago
|
||
As explained in the comments above, Firefox 17 and later will no longer create or use the file. The point of this bug is to clean it up if it exists, i.e. if the users profile dates from before those versions.
It looks like this code which you found can also be removed as part of the cleanup:
https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/core/Telemetry.cpp#1425
And from investigating my profile, the file "urlclassifierkey3.txt" could also be deleted if present. I think that dates from before the time we used HTTPS for SafeBrowsing. That was changed in bug 783047.
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Seems file "urlclassifierkey3.txt" doesn't exist anymore!
Reporter | ||
Comment 13•5 years ago
|
||
Seems file "urlclassifierkey3.txt" doesn't exist anymore!
Please see comment 10. This will be present in profiles predating Firefox 29 (bug 783047).
Reporter | ||
Comment 15•5 years ago
|
||
I don't see any comments in phabricator?
Comment 16•5 years ago
|
||
this line should exist?
https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/tests/unit/head_urlclassifier.js#44
Reporter | ||
Comment 17•5 years ago
|
||
It can be removed. It's part of the tests, which will create fresh, new profiles, and current Firefox versions won't create the file any more so it'll never be present.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•