| Index: content/browser/frame_host/navigator_impl.cc
|
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
|
| index 07f3cc9d1eb6137155132c4f146032ea6b1efe7d..b88741fd99721403674ebf20c5508231d3a48d71 100644
|
| --- a/content/browser/frame_host/navigator_impl.cc
|
| +++ b/content/browser/frame_host/navigator_impl.cc
|
| @@ -231,7 +231,8 @@ void NavigatorImpl::DidStartProvisionalLoad(
|
| validated_url, validated_redirect_chain,
|
| render_frame_host->frame_tree_node(), is_renderer_initiated,
|
| false, // is_same_page
|
| - navigation_start, pending_nav_entry_id, started_from_context_menu));
|
| + navigation_start, pending_nav_entry_id, started_from_context_menu,
|
| + false)); // should_bypass_main_world_csp
|
| }
|
|
|
| void NavigatorImpl::DidFailProvisionalLoadWithError(
|
| @@ -612,7 +613,8 @@ void NavigatorImpl::DidNavigate(
|
| // Navigating to a new location means a new, fresh set of http headers and/or
|
| // <meta> elements - we need to reset CSP and Feature Policy.
|
| if (!is_navigation_within_page) {
|
| - render_frame_host->frame_tree_node()->ResetContentSecurityPolicy();
|
| + render_frame_host->ResetContentSecurityPolicies();
|
| + render_frame_host->frame_tree_node()->ResetCSPHeaders();
|
| render_frame_host->frame_tree_node()->ResetFeaturePolicyHeader();
|
| }
|
|
|
|
|