mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix assertion when client handles HTTPS URL without certificate.
This commit is contained in:
@@ -70,6 +70,10 @@ patches = [
|
|||||||
# https://bitbucket.org/chromiumembedded/cef/issues/2345
|
# https://bitbucket.org/chromiumembedded/cef/issues/2345
|
||||||
'name': 'webkit_popups_and_background',
|
'name': 'webkit_popups_and_background',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
# Fix assertion when client handles HTTPS URL without certificate.
|
||||||
|
'name': 'blink_web_url_loader',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
# Give AlloyContentRendererClient access to protected
|
# Give AlloyContentRendererClient access to protected
|
||||||
# RuntimeEnabledFeatures methods.
|
# RuntimeEnabledFeatures methods.
|
||||||
|
12
patch/patches/blink_web_url_loader.patch
Normal file
12
patch/patches/blink_web_url_loader.patch
Normal 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;
|
||||||
|
}
|
Reference in New Issue
Block a user