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

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

Issue 2689653003: PlzNavigate: Enforce 'form-action' CSP on the browser-side. (Closed)
Patch Set: Add TODO. 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/navigation_handle_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_unittest.cc b/content/browser/frame_host/navigation_handle_impl_unittest.cc
index 06a0aea0f38e7d5c819fdb93b59a28205f20a2a8..6c39f38df9e2f08452e1cfd19af35a054f9f31ce 100644
--- a/content/browser/frame_host/navigation_handle_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_unittest.cc
@@ -73,7 +73,8 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
false, // 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
EXPECT_EQ(REQUEST_CONTEXT_TYPE_UNSPECIFIED,
test_handle_->request_context_type_);
contents()->GetMainFrame()->InitializeRenderFrameIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698