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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Rebase. :( 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: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 3f78de43b237ed18a0ef784352798895cfc797bc..1b0888b9b9f4ed44dfb8a356b3139ce84163ab30 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -245,6 +245,8 @@ class FrameFetchContextModifyRequestTest : public FrameFetchContextTest {
EXPECT_EQ(expectedURL.port(), resourceRequest.url().port());
EXPECT_EQ(expectedURL.hasPort(), resourceRequest.url().hasPort());
EXPECT_EQ(expectedURL.path(), resourceRequest.url().path());
+ EXPECT_EQ(document->getInsecureRequestPolicy(),
+ resourceRequest.getInsecureRequestPolicy());
}
void expectUpgradeInsecureRequestHeader(const char* input,
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698