| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 7299c17c81981a4a03a1d4076a482fe5d40e93b7..36df467a34f16e29c55fe7ee04a0e0a1ac24aff4 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -6127,7 +6127,9 @@ TEST_P(ParameterizedWebFrameTest, NavigateToSameNoConditionalRequestForSubresour
|
| WebCache::clear();
|
| FrameTestHelpers::loadFrame(webViewHelper.webView()->mainFrame(), m_baseURL + "foo_with_image.html");
|
|
|
| - EXPECT_EQ(client.numOfImageRequests(), 2);
|
| + // 2 images are requested, and each triggers 2 willSendRequest() calls,
|
| + // once for preloading and once for the real request.
|
| + EXPECT_EQ(client.numOfImageRequests(), 4);
|
| }
|
|
|
| TEST_P(ParameterizedWebFrameTest, WebNodeImageContents)
|
|
|