gecko-dev/services/common
Dana Keeler a483dcca02 Bug 1539415 - make nsICertStorage (cert_storage) asynchronous for functions called from the main thread r=jcj,mgoodwin
The Set* functions of nsICertStorage (SetRevocationByIssuerAndSerial,
SetRevocationBySubjectAndPubKey, SetEnrollment, and SetWhitelist) are called on
the main thread by the implementations that manage consuming remote security
information. We don't want to block the main thread, so this patch modifies
these functions to take a callback that will be called (on the original thread)
when the operation in question has been completed on a background thread.

The Get* functions of nsICertStorage (GetRevocationState, GetEnrollmentState,
and GetWhitelistState) should only be called off the main thread. For the most
part they are, but there are at least two main-thread certificate verifications
that can cause these functions to be called on the main thread. These instances
are in nsSiteSecurityService::ProcessPKPHeader and
ContentSignatureVerifier::CreateContextInternal and will be dealt with in
bug 1406854 bug 1534600, respectively.

Differential Revision: https://phabricator.services.mozilla.com/D25174

--HG--
extra : moz-landing-system : lando
2019-04-03 23:24:19 +00:00
..
docs Bug 1528704 - Add option to disable sync on RemoteSettings().get() r=glasserc 2019-02-20 15:15:00 +00:00
modules-testing Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
tests Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten 2019-04-03 17:12:11 +00:00
async.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
blocklist-clients.js Bug 1539415 - make nsICertStorage (cert_storage) asynchronous for functions called from the main thread r=jcj,mgoodwin 2019-04-03 23:24:19 +00:00
hawkclient.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
hawkrequest.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
kinto-http-client.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
kinto-offline-client.js Bug 1530346 - Upgrade kinto-offline-client and report IndexedDB errors properly r=glasserc 2019-02-26 16:15:05 +00:00
kinto-storage-adapter.js Bug 1530346 - Upgrade kinto-offline-client and report IndexedDB errors properly r=glasserc 2019-02-26 16:15:05 +00:00
logmanager.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
moz.build
observers.js Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8 2019-02-28 08:39:33 +00:00
rest.js bug 1531928 - remove unnecessary use of nsIBadCertListener2 in RESTRequest r=lina 2019-03-01 22:18:04 +00:00
services-common.js
servicesComponents.manifest
tokenserverclient.js Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
uptake-telemetry.js Bug 1539101 - Force extra values to be strings in Uptake Telemetry r=glasserc 2019-03-27 14:17:49 +00:00
utils.js Bug 1525319 - Removing context from OnDataAvailable r=valentin 2019-02-27 23:42:27 +00:00