diff --git content/browser/renderer_host/render_frame_host_impl.cc content/browser/renderer_host/render_frame_host_impl.cc index 9c63417070d5a..2b60f10691a14 100644 --- content/browser/renderer_host/render_frame_host_impl.cc +++ content/browser/renderer_host/render_frame_host_impl.cc @@ -11181,6 +11181,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)) {