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)
(deleted),
text/x-phabricator-request
|
Details |
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Updated•12 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Updated•9 years ago
|
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•6 years ago
|
||
:gcp
May I know the status of old safebrowsing store?
Updated•6 years ago
|
Reporter | ||
Comment 7•6 years ago
|
||
Should be safe to delete for about 7 years :-)
Reporter | ||
Comment 8•6 years ago
|
||
Basically the file urlclassifier3.sqlite can be deleted from the profile.
Comment 9•6 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•6 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•6 years ago
|
||
Comment 12•6 years ago
|
||
Seems file "urlclassifierkey3.txt" doesn't exist anymore!
Reporter | ||
Comment 13•6 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•6 years ago
|
||
I don't see any comments in phabricator?
Comment 16•6 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•6 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•5 years ago
|
Updated•2 years ago
|
Description
•