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

Unified Diff: content/public/browser/navigation_handle.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/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index ed6c6177c8bf11c8d19bee1aa9d1a7db3d4eb942..22edd055a5cecf9106507bbc42f416f26d84492d 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -36,7 +36,8 @@ NavigationHandle::CreateNavigationHandleForTesting(
true, // is_renderer_initiated
is_same_page, base::TimeTicks::Now(), 0,
false, // started_from_context_menu
- false); // should_bypass_main_world_csp
+ false, // should_bypass_main_world_csp
+ false); // is_form_submission
handle_impl->set_render_frame_host(rfhi);
if (error != net::OK)
handle_impl->set_net_error_code(error);

Powered by Google App Engine
This is Rietveld 408576698