mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DCHECK that triggers while loading DevTools resources
See https://crbug.com/1289230 for background.
This commit is contained in:
@ -534,5 +534,10 @@ patches = [
|
|||||||
# Windows: Fix crash when |sandbox_info| parameter is nullptr.
|
# Windows: Fix crash when |sandbox_info| parameter is nullptr.
|
||||||
# https://bitbucket.org/chromiumembedded/cef/issues/3210
|
# https://bitbucket.org/chromiumembedded/cef/issues/3210
|
||||||
'name': 'win_sandbox_3210',
|
'name': 'win_sandbox_3210',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
# Remove DCHECK that triggers while loading DevTools resources.
|
||||||
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=1289230
|
||||||
|
'name': 'blink_security_policy_1289230',
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
13
patch/patches/blink_security_policy_1289230.patch
Normal file
13
patch/patches/blink_security_policy_1289230.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git third_party/blink/renderer/platform/weborigin/security_policy.cc third_party/blink/renderer/platform/weborigin/security_policy.cc
|
||||||
|
index 4ebbed336ebd8..845f7ec694721 100644
|
||||||
|
--- third_party/blink/renderer/platform/weborigin/security_policy.cc
|
||||||
|
+++ third_party/blink/renderer/platform/weborigin/security_policy.cc
|
||||||
|
@@ -90,7 +90,7 @@ Referrer SecurityPolicy::GenerateReferrer(
|
||||||
|
ReferrerUtils::MojoReferrerPolicyResolveDefault(referrer_policy);
|
||||||
|
if (referrer == Referrer::NoReferrer())
|
||||||
|
return Referrer(Referrer::NoReferrer(), referrer_policy_no_default);
|
||||||
|
- DCHECK(!referrer.IsEmpty());
|
||||||
|
+ // DCHECK(!referrer.IsEmpty());
|
||||||
|
|
||||||
|
KURL referrer_url = KURL(NullURL(), referrer).UrlStrippedForUseAsReferrer();
|
||||||
|
|
Reference in New Issue
Block a user