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

Unified Diff: content/public/test/navigation_simulator.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
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/navigation_simulator.cc
diff --git a/content/public/test/navigation_simulator.cc b/content/public/test/navigation_simulator.cc
index 7925507e2a53068a260a3c8cb4a86d0930aedf4d..81b1afa8d2fd50b4f7b6922829b8f72b3eef6c5f 100644
--- a/content/public/test/navigation_simulator.cc
+++ b/content/public/test/navigation_simulator.cc
@@ -113,7 +113,9 @@ void NavigationSimulator::Start() {
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, true /* has_user_gesture */,
false /* skip_service_worker */, REQUEST_CONTEXT_TYPE_HYPERLINK,
- blink::WebMixedContentContextType::Blockable, url::Origin());
+ blink::WebMixedContentContextType::Blockable,
+ false, // is_form_submission
+ url::Origin());
CommonNavigationParams common_params;
common_params.url = navigation_url_;
common_params.referrer = referrer_;
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698