mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1879936: don't ASSERT if the user overrides a cert error r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D202267
This commit is contained in:
parent
2648d2bb1e
commit
6d1644c5a8
@ -2277,8 +2277,10 @@ nsresult nsHttpChannel::ContinueProcessResponse1() {
|
||||
|
||||
// Given a successful connection, process any STS or PKP data that's
|
||||
// relevant.
|
||||
DebugOnly<nsresult> rv = ProcessSecurityHeaders();
|
||||
MOZ_ASSERT(NS_SUCCEEDED(rv), "ProcessSTSHeader failed, continuing load.");
|
||||
nsresult rv = ProcessSecurityHeaders();
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("ProcessSTSHeader failed, continuing load.");
|
||||
}
|
||||
|
||||
if ((httpStatus < 500) && (httpStatus != 421)) {
|
||||
ProcessAltService();
|
||||
|
Loading…
Reference in New Issue
Block a user