Fix assertion when client handles HTTPS URL without certificate.

This commit is contained in:
Marshall Greenblatt
2021-08-04 14:19:27 -04:00
parent a9ec100d85
commit 5ffe90cd56
2 changed files with 16 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ patches = [
# https://bitbucket.org/chromiumembedded/cef/issues/2345
'name': 'webkit_popups_and_background',
},
{
# Fix assertion when client handles HTTPS URL without certificate.
'name': 'blink_web_url_loader',
},
{
# Give AlloyContentRendererClient access to protected
# RuntimeEnabledFeatures methods.

View File

@@ -0,0 +1,12 @@
diff --git third_party/blink/renderer/platform/loader/fetch/url_loader/web_url_loader.cc third_party/blink/renderer/platform/loader/fetch/url_loader/web_url_loader.cc
index c346490cdf4f..fff11e84cce5 100644
--- third_party/blink/renderer/platform/loader/fetch/url_loader/web_url_loader.cc
+++ third_party/blink/renderer/platform/loader/fetch/url_loader/web_url_loader.cc
@@ -250,7 +250,6 @@ void SetSecurityStyleAndDetails(const GURL& url,
sct_list[i] = NetSCTToBlinkSCT(ssl_info.signed_certificate_timestamps[i]);
if (!ssl_info.cert) {
- NOTREACHED();
response->SetSecurityStyle(SecurityStyle::kUnknown);
return;
}