| 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 0f7085a1c6831e58cd0f6ce52ee3f0988a6aefed..a79d286fc153dc353a4daf3b40da20a012cec6f1 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
|
| @@ -602,6 +602,16 @@ TEST_F(FrameFetchContextTest, MainResource) {
|
| EXPECT_EQ(WebCachePolicy::BypassingCache,
|
| childFetchContext->resourceRequestCachePolicy(
|
| request, Resource::MainResource, FetchRequest::NoDefer));
|
| +
|
| + // Per-frame bypassing reload, but parent load type is different.
|
| + // This is not the case users can trigger through user interfaces, but for
|
| + // checking code correctness and consistency.
|
| + document->loader()->setLoadType(FrameLoadTypeReload);
|
| + childFrame->loader().documentLoader()->setLoadType(
|
| + FrameLoadTypeReloadBypassingCache);
|
| + EXPECT_EQ(WebCachePolicy::BypassingCache,
|
| + childFetchContext->resourceRequestCachePolicy(
|
| + request, Resource::MainResource, FetchRequest::NoDefer));
|
| }
|
|
|
| TEST_F(FrameFetchContextTest, SetFirstPartyCookieAndRequestorOrigin) {
|
|
|