зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1582589 - Client cert checking fails when CAs differ on server and client certs r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D50913 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
50a693991f
Коммит
69a35cc0f0
|
@ -330,9 +330,14 @@ NetworkResponseListener.prototype = {
|
|||
const info = NetworkHelper.parseSecurityInfo(secinfo, this.httpActivity);
|
||||
|
||||
let isRacing = false;
|
||||
const channel = this.httpActivity.channel;
|
||||
if (channel instanceof Ci.nsICacheInfoChannel) {
|
||||
isRacing = channel.isRacing();
|
||||
try {
|
||||
const channel = this.httpActivity.channel;
|
||||
if (channel instanceof Ci.nsICacheInfoChannel) {
|
||||
isRacing = channel.isRacing();
|
||||
}
|
||||
} catch (err) {
|
||||
// See the following bug for more details:
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1582589
|
||||
}
|
||||
|
||||
this.httpActivity.owner.addSecurityInfo(info, isRacing);
|
||||
|
|
Загрузка…
Ссылка в новой задаче