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

Unified Diff: content/browser/loader/resource_dispatcher_host_unittest.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/browser/loader/navigation_url_loader_unittest.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_dispatcher_host_unittest.cc
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index aa7b57b8aebe11118b27a0d74da5fd4ac184140a..e976d36b8a79631356ccfa8080087c6778722852 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1082,7 +1082,9 @@ class ResourceDispatcherHostTest : public testing::TestWithParam<TestConfig>,
BeginNavigationParams begin_params(
std::string(), net::LOAD_NORMAL, false, false,
REQUEST_CONTEXT_TYPE_LOCATION,
- blink::WebMixedContentContextType::Blockable, url::Origin(url));
+ blink::WebMixedContentContextType::Blockable,
+ false, // is_form_submission
+ url::Origin(url));
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
@@ -2644,6 +2646,7 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContext) {
std::string(), net::LOAD_NORMAL, false, false,
REQUEST_CONTEXT_TYPE_LOCATION,
blink::WebMixedContentContextType::Blockable,
+ false, // is_form_submission
url::Origin(download_url));
CommonNavigationParams common_params;
common_params.url = download_url;
« no previous file with comments | « content/browser/loader/navigation_url_loader_unittest.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698