| 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 5740af67acbee9231ed9620e601cc8be1848aa9a..03e24a2a4568183845211700fb921ec4c7861b28 100644
|
| --- a/content/browser/frame_host/navigator_impl.cc
|
| +++ b/content/browser/frame_host/navigator_impl.cc
|
| @@ -580,9 +580,11 @@ void NavigatorImpl::DidNavigate(
|
| params.insecure_request_policy);
|
|
|
| // Navigating to a new location means a new, fresh set of http headers and/or
|
| - // <meta> elements - we need to reset CSP policy to an empty set.
|
| - if (!is_navigation_within_page)
|
| + // <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->frame_tree_node()->ResetFeaturePolicy();
|
| + }
|
|
|
| // When using --site-per-process, we notify the RFHM for all navigations,
|
| // not just main frame navigations.
|
|
|