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

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

Issue 2689653003: PlzNavigate: Enforce 'form-action' CSP on the browser-side. (Closed)
Patch Set: Rebase. Created 3 years, 9 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/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index fc4610ca122816e9a0f562e82a226acf7f6c74a3..32e73c34ffe283726c4bbdfe351306dce218ecc0 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -232,7 +232,8 @@ void NavigatorImpl::DidStartProvisionalLoad(
render_frame_host->frame_tree_node(), is_renderer_initiated,
false, // is_same_page
navigation_start, pending_nav_entry_id, started_from_context_menu,
- CSPDisposition::CHECK)); // should_check_main_world_csp
+ CSPDisposition::CHECK, // should_check_main_world_csp
+ false)); // is_form_submission
}
void NavigatorImpl::DidFailProvisionalLoadWithError(
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698