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

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: Rebase. 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 313189e8e59a6d25cbcf87c8628396ce7fc8a06d..258d920917df499ec033c9eae81cba1da951c7fb 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -3427,7 +3427,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.
@@ -3481,7 +3482,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