gecko-dev/toolkit/components/url-classifier
DimiL 7b98fa4c7e Bug 1364607 - Add a test for empty Safe Browsing updates. r=francois
This patch includes two test cases:
1. Apply an empty update through Classifier interface, which is the normal use case.
2. Apply an empty update through LookupCacheV4::ApplyUpdate, this ensure update algorithm is
   correct when applying an empty update. This scenario actually shouldn't happen in
   normal use case because it will be skipped by Classifier::CheckValidUpdate.

MozReview-Commit-ID: 9khsuVatX0u

--HG--
extra : rebase_source : 8db87dd2b8b4aec4546257e9f06dcc839b2ea181
2017-05-17 16:04:23 +08:00
..
chromium Bug 1331139 - Sync safebrowsing.proto from Chromium. r=francois 2017-02-27 12:18:50 +08:00
content Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
docs Bug 1345611 - Change behavior of subdocument Flash blocking to be Third-Party Flash blocking r=bsmedberg,qdot 2017-03-10 10:50:21 -08:00
protobuf Bug 1331139 - Sync safebrowsing.proto from Chromium. r=francois 2017-02-27 12:18:50 +08:00
tests Bug 1364607 - Add a test for empty Safe Browsing updates. r=francois 2017-05-17 16:04:23 +08:00
ChunkSet.cpp Bug 1299489 - Change nsTArray to use a custom iterator based on index instead of pointers to improve iterator invalidation safety of ranged for loops, r=froydnj 2016-12-08 15:54:45 -10:00
ChunkSet.h
Classifier.cpp Bug 1342900 - Remove usage of nsTArray<nsAutoPtr<>> in Classifier. r=dimi 2017-05-05 14:33:18 +08:00
Classifier.h Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
Entries.h Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
HashStore.cpp Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
HashStore.h Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
LookupCache.cpp Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
LookupCache.h Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
LookupCacheV4.cpp Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
LookupCacheV4.h Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
ProtocolParser.cpp Bug 1060419 - convert one nsPrintfCString to MOZ_LOG, r=froydnj 2016-12-19 13:15:14 -07:00
ProtocolParser.h Bug 1332213 - Store the update stream duplicately in v2 protocol parser. r=francois. 2017-01-19 17:16:13 +08:00
RiceDeltaDecoder.cpp
RiceDeltaDecoder.h
SBTelemetryUtils.cpp Bug 1311933 - P2. Add telemetry to measure if completion match type is the same for v2 and v4. r=francois 2017-04-12 09:11:18 +08:00
SBTelemetryUtils.h Bug 1336904 - Add timeouts for Safe Browsing updates r=francois 2017-04-24 17:51:06 +08:00
SafeBrowsing.jsm Bug 1336915 - Disable updates and fullhash requests when the Google API key is missing r=francois 2017-04-25 15:20:44 +08:00
VariableLengthPrefixSet.cpp Bug 1311935 - P3. Implement safebrowsing v4 caching logic. r=francois 2017-04-10 14:21:08 +08:00
VariableLengthPrefixSet.h Bug 1297962 - Add noise data when sending v4 gethash request r=francois 2017-02-24 10:22:12 +08:00
moz.build Bug 1311933 - P2. Add telemetry to measure if completion match type is the same for v2 and v4. r=francois 2017-04-12 09:11:18 +08:00
nsCheckSummedOutputStream.cpp
nsCheckSummedOutputStream.h
nsIUrlClassifierDBService.idl Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
nsIUrlClassifierHashCompleter.idl Bug 1311935 - P2. Process fullHashes.find response. r=francois 2017-04-11 11:50:48 +08:00
nsIUrlClassifierPrefixSet.idl
nsIUrlClassifierStreamUpdater.idl
nsIUrlClassifierTable.idl
nsIUrlClassifierUtils.idl Bug 1331881 - Minimum wait duration and negative cache duration should be passed even if there is no match. r=francois,henry 2017-01-18 17:34:03 +08:00
nsIUrlListManager.idl Bug 1348253 - about:url-classifier: Providers information and update button. r=francois 2017-04-19 00:33:08 +08:00
nsURLClassifier.manifest
nsUrlClassifierDBService.cpp Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
nsUrlClassifierDBService.h Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
nsUrlClassifierHashCompleter.js Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
nsUrlClassifierLib.js
nsUrlClassifierListManager.js
nsUrlClassifierPrefixSet.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
nsUrlClassifierPrefixSet.h
nsUrlClassifierProxies.cpp Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
nsUrlClassifierProxies.h Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois 2017-05-04 11:13:21 +08:00
nsUrlClassifierStreamUpdater.cpp Bug 1336904 - Add timeouts for Safe Browsing updates r=francois 2017-04-24 17:51:06 +08:00
nsUrlClassifierStreamUpdater.h Bug 1336904 - Add timeouts for Safe Browsing updates r=francois 2017-04-24 17:51:06 +08:00
nsUrlClassifierUtils.cpp Bug 1362501 - Use LINUX_PLATFORM for Safe Browsing on non-Windows and non-OSX platforms. r=gcp 2017-05-05 11:38:38 -07:00
nsUrlClassifierUtils.h Bug 1339556 - remove nsUrlClassifierUtils::Charmap; r=gcp 2017-02-15 09:29:42 -05:00