gecko-dev/toolkit
DimiL 5aef415cc6 Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois
In this patch, we will make Safebrowsing V2 caching use the same algorithm as V4.
So we remove "mMissCache" for negative caching and TableFresness check for
positive caching.

But Safebrowsing V2 doesn't contain negative/positive cache duration information in
gethash response. So we hard-code a fixed value, 15 minutes, as cache duration.
In this way, we can sync the mechanism we handle caching for V2 and V4.

An extra effort for V2 here is that we need to manually record prefixes misses
because we won't get any response for those prefixes(implemented in
nsUrlClassifierLookupCallback::CacheMisses).

--HG--
extra : rebase_source : 0fb7938464ad24a01a51493ecb1b5c0197c16123
2017-05-04 09:38:14 +08:00
..
components Bug 1333328 - Refactor cache miss handling mechanism for V2. r=francois 2017-05-04 09:38:14 +08:00
content Bug 1356763 - Avoid ensureElementIsVisible if there's no popup open and correct reset maxRows. r=mak 2017-05-12 00:17:00 -04:00
crashreporter Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
forgetaboutsite Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
library No bug - Revendor rust dependencies 2017-05-11 23:29:34 +00:00
locales Bug 1363700 - Add RCWN stats to about:networking r=bz,michal 2017-05-10 19:23:54 +02:00
modules merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
mozapps Bug 1345007 - Flush jar cache after failed installation. r=aswan 2017-05-11 19:42:21 +05:30
pluginproblem
profile Bug 1347358 - Add a Cleanup() function for profile locks. r=glandium 2017-03-23 18:02:10 +01:00
system Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop 2017-04-09 05:43:43 -04:00
themes Backed out changeset 3f985817021e (bug 1348362) for failing mochitests caps/tests/mochitest/test_bug292789.html and browser/base/content/test/static/browser_parsable_css.js. r=backout 2017-05-14 21:12:50 +02:00
xre merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
.eslintrc.js Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
moz.build Bug 1313045 - Remove toolkit/identity, part2: Move used files/bits to services/crypto and remove remaining files in toolkit/identity. r=MattN. 2017-01-23 20:43:35 +01:00
moz.configure Bug 1363666: followup - Remove outdated comment. r=me 2017-05-11 15:29:38 +02:00
nss.configure
toolkit.mozbuild Back out bug 1357107 since it broke a feature that we have no automated tests for... 2017-05-05 22:41:36 -04:00