| Index: third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
|
| index 3e10713829c05719d25c3e8e595bec0b4b00e76f..a785c7199be3cf54e960410010dd57ed0d37157d 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
|
| @@ -126,16 +126,14 @@
|
|
|
| TEST_F(ResourceFetcherTest, StartLoadAfterFrameDetach) {
|
| KURL secureURL(ParsedURLString, "https://secureorigin.test/image.png");
|
| - // Try to request a url. The request should fail, and a resource in an error
|
| - // state should be returned, and no resource should be present in the cache.
|
| + // Try to request a url. The request should fail, no resource should be
|
| + // returned, and no resource should be present in the cache.
|
| ResourceFetcher* fetcher = ResourceFetcher::create(nullptr);
|
| FetchRequest fetchRequest =
|
| FetchRequest(ResourceRequest(secureURL), FetchInitiatorInfo());
|
| Resource* resource =
|
| fetcher->requestResource(fetchRequest, TestResourceFactory());
|
| - ASSERT_TRUE(resource);
|
| - EXPECT_TRUE(resource->errorOccurred());
|
| - EXPECT_TRUE(resource->resourceError().isAccessCheck());
|
| + EXPECT_FALSE(resource);
|
| EXPECT_FALSE(memoryCache()->resourceForURL(secureURL));
|
|
|
| // Start by calling startLoad() directly, rather than via requestResource().
|
|
|