mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-11 09:08:06 +01:00
13 lines
749 B
Diff
13 lines
749 B
Diff
diff --git content/browser/renderer_host/render_frame_host_impl.cc content/browser/renderer_host/render_frame_host_impl.cc
|
|
index 9c8b401d00136..f1b9050b55bc3 100644
|
|
--- content/browser/renderer_host/render_frame_host_impl.cc
|
|
+++ content/browser/renderer_host/render_frame_host_impl.cc
|
|
@@ -10880,6 +10880,7 @@ void RenderFrameHostImpl::CommitNavigation(
|
|
auto browser_calc_origin_to_commit =
|
|
navigation_request->GetOriginToCommitWithDebugInfo();
|
|
if (!process_lock.is_error_page() && !is_mhtml_subframe &&
|
|
+ common_params->url.IsStandard() &&
|
|
!policy->CanAccessOrigin(
|
|
GetProcess()->GetID(), browser_calc_origin_to_commit.first.value(),
|
|
ChildProcessSecurityPolicyImpl::AccessType::kCanCommitNewOrigin)) {
|