url-classifier should handle addition of test-malware-simple / test-phish-simple entries
Categories
(Toolkit :: Safe Browsing, defect, P2)
Tracking
()
People
(Reporter: Dolske, Unassigned)
References
Details
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Updated•9 years ago
|
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Hi gcp,
I am thinking if we can change the table name of those test entries to something like test-memory-xxx-simple and we don't do any file read/write for those "memory" tables (Right now, I can't think of any reason those tables need to have a disk copy).
I think if this works, it is even better than generate the table at the first run because that still requires file I/O every startup which seems to cause a performance problem in certain devices(Bug 1353956 Comment 30)
How do you think?
Updated•6 years ago
|
Comment 8•6 years ago
|
||
The only reason for those tables to have a disk copy is that they are used in our tests and this means that the tests exercise the disk reading/writing code just like normal usage would.
But I think that in the time since this bug, the test coverage of SafeBrowsing code has been greatly extended via unit tests so that it's sufficient and not writing those tables is not big deal.
Updated•6 years ago
|
Comment 9•5 years ago
|
||
This is now fixed by Bug 1531354, test entries are now added directly in LookupCache without consuming disk IO
Description
•