fune/toolkit/components/url-classifier
Thomas Nguyen a26ed706a3 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : 17aa70d8583cc84e28e57410de66eaac63bd18bb
2017-08-30 18:04:10 +08:00
..
chromium
docs
protobuf
tests Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois 2017-08-30 18:04:10 +08:00
ChunkSet.cpp
ChunkSet.h
Classifier.cpp Bug 1393235 - Fix improper usages of string functions. r=njn 2017-08-22 19:30:46 -07:00
Classifier.h Bug 1359299 - V4 caches in LookupCache need to be copied around in copy constructor. r=hchang 2017-06-06 14:16:57 +08:00
Entries.h Bug 1359299 - V4 caches in LookupCache need to be copied around in copy constructor. r=hchang 2017-06-06 14:16:57 +08:00
HashStore.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
HashStore.h Bug 1378680 - Refactor usage fallible alloc in url-classifier r=francois 2017-07-20 16:20:27 +08:00
IUrlClassifierUITelemetry.idl Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois 2017-08-02 14:01:44 +08:00
LookupCache.cpp Bug 1378680 - Refactor usage fallible alloc in url-classifier r=francois 2017-07-20 16:20:27 +08:00
LookupCache.h Bug 1363882 - Remove casting address of inactive member union result.hash r=francois 2017-07-05 17:21:01 +08:00
LookupCacheV4.cpp Bug 1376410 - Handle OOM when appending prefix to map r=francois,hchang 2017-08-11 17:28:40 +08:00
LookupCacheV4.h
moz.build Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois 2017-08-02 14:01:44 +08:00
nsCheckSummedOutputStream.cpp Bug 1375125 - Remove nsILocalFile. r=froydnj 2017-08-05 09:43:49 +09:00
nsCheckSummedOutputStream.h Bug 1375125 - Remove nsILocalFile. r=froydnj 2017-08-05 09:43:49 +09:00
nsIUrlClassifierDBService.idl
nsIUrlClassifierHashCompleter.idl
nsIUrlClassifierInfo.idl
nsIUrlClassifierPrefixSet.idl
nsIUrlClassifierStreamUpdater.idl
nsIUrlClassifierUtils.idl
nsIUrlListManager.idl Backed out changeset 7bb00f5e0120 (bug 1395411) for eslint failures in test_classifier_changetablepref_bug1395411.html: 'classifierHelper' is not defined. r=backout 2017-09-04 16:45:35 +02:00
nsURLClassifier.manifest
nsUrlClassifierDBService.cpp Bug 1363038 - Remove synchronous dispatch when worker is racing against shutdown r=hchang 2017-08-22 14:51:44 +08:00
nsUrlClassifierDBService.h Bug 1363038 - Remove synchronous dispatch when worker is racing against shutdown r=hchang 2017-08-22 14:51:44 +08:00
nsUrlClassifierHashCompleter.js Bug 1386684 - Enable ESLint for toolkit/components/url-classifier (manual fixes). r=hchang 2017-08-02 20:09:14 +01:00
nsUrlClassifierInfo.cpp Bug 1366996 - Fix uninitialized members in nsUrlClassifierInfo. r=francois 2017-05-31 08:52:34 +08:00
nsUrlClassifierInfo.h
nsUrlClassifierLib.js Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois 2017-08-30 18:04:10 +08:00
nsUrlClassifierListManager.js Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois 2017-08-30 18:04:10 +08:00
nsUrlClassifierPrefixSet.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
nsUrlClassifierPrefixSet.h
nsUrlClassifierProxies.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsUrlClassifierProxies.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsUrlClassifierStreamUpdater.cpp Bug 1386013 - Log an error when Safe Browsing times out. r=hchang 2017-07-31 20:29:25 -07:00
nsUrlClassifierStreamUpdater.h Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
nsUrlClassifierUtils.cpp Bug 1392204 - Disable goog-badbinurl-proto and goog-downloadwhite-proto on Fennec. r=francois 2017-08-22 12:20:57 +08:00
nsUrlClassifierUtils.h
ProtocolParser.cpp Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
ProtocolParser.h
RiceDeltaDecoder.cpp
RiceDeltaDecoder.h
SafeBrowsing.jsm Backed out changeset 7bb00f5e0120 (bug 1395411) for eslint failures in test_classifier_changetablepref_bug1395411.html: 'classifierHelper' is not defined. r=backout 2017-09-04 16:45:35 +02:00
VariableLengthPrefixSet.cpp Bug 1376410 - Handle OOM when appending prefix to map r=francois,hchang 2017-08-11 17:28:40 +08:00
VariableLengthPrefixSet.h