Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2689653003: PlzNavigate: Enforce 'form-action' CSP on the browser-side. (Closed)
Patch Set: PlzNavigate: Enforce 'form-action' CSP on the browser-side. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index f9f5986ee911c0792ed9b57fdf111618a580f3fa..5649f971fb771a371415e583fbc61203b7c4ed97 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -3442,7 +3442,8 @@ RenderFrameHostImpl::TakeNavigationHandleForCommit(
params.was_within_same_page, base::TimeTicks::Now(),
pending_nav_entry_id,
false, // started_from_context_menu
- false); // should_bypass_main_world_csp
+ false, // should_bypass_main_world_csp
+ false); // is_form_submission
}
// Determine if the current NavigationHandle can be used.
@@ -3496,7 +3497,8 @@ RenderFrameHostImpl::TakeNavigationHandleForCommit(
params.was_within_same_page, base::TimeTicks::Now(),
entry_id_for_data_nav,
false, // started_from_context_menu
- false); // should_bypass_main_world_csp
+ false, // should_bypass_main_world_csp
+ false); // is_form_submission
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698