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

Unified Diff: content/test/test_render_frame_host.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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index 6558a129032199dc9ab0101ae138eb3b566d3fea..67ec079eb2fd096f07d7dc505c107baecfb162c3 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -424,7 +424,9 @@ void TestRenderFrameHost::SendRendererInitiatedNavigationRequest(
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, has_user_gesture, false,
REQUEST_CONTEXT_TYPE_HYPERLINK,
- blink::WebMixedContentContextType::Blockable, url::Origin());
+ blink::WebMixedContentContextType::Blockable,
+ false, // is_form_submission
+ url::Origin());
CommonNavigationParams common_params;
common_params.url = url;
common_params.referrer = Referrer(GURL(), blink::WebReferrerPolicyDefault);

Powered by Google App Engine
This is Rietveld 408576698