2023-10-19 20:08:48 +02:00
|
|
|
diff --git content/browser/renderer_host/render_frame_host_impl.cc content/browser/renderer_host/render_frame_host_impl.cc
|
2024-05-23 03:52:35 +02:00
|
|
|
index 3821695f6561f..3cd78bf565086 100644
|
2023-10-19 20:08:48 +02:00
|
|
|
--- content/browser/renderer_host/render_frame_host_impl.cc
|
|
|
|
+++ content/browser/renderer_host/render_frame_host_impl.cc
|
2024-05-23 03:52:35 +02:00
|
|
|
@@ -10854,6 +10854,7 @@ void RenderFrameHostImpl::CommitNavigation(
|
2023-10-19 20:08:48 +02:00
|
|
|
auto browser_calc_origin_to_commit =
|
|
|
|
navigation_request->GetOriginToCommitWithDebugInfo();
|
|
|
|
if (!process_lock.is_error_page() && !is_mhtml_subframe &&
|
|
|
|
+ common_params->url.IsStandard() &&
|
2024-04-23 22:06:00 +02:00
|
|
|
!policy->CanAccessOrigin(
|
|
|
|
GetProcess()->GetID(), browser_calc_origin_to_commit.first.value(),
|
|
|
|
ChildProcessSecurityPolicyImpl::AccessType::kCanCommitNewOrigin)) {
|