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

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

Issue 2415373002: Loading: bulk style errors fix in core/loader (Closed)
Patch Set: Created 4 years, 2 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/LinkLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
index a8837a487ac7b24d4df1b0c105bd02cf8ad273f1..c8e58f982e0ff114b59f00e032dc7d53517407d4 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
@@ -192,9 +192,10 @@ TEST(LinkLoaderTest, Preload) {
HeapListHashSet<Member<Resource>>* preloads =
dummyPageHolder->document().fetcher()->preloads();
if (testCase.expectingLoad) {
- if (!preloads)
+ if (!preloads) {
fprintf(stderr, "Unexpected result %s %s %s\n", testCase.href,
testCase.as, testCase.type);
+ }
EXPECT_TRUE(preloads);
} else {
EXPECT_FALSE(preloads);
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkLoader.cpp ('k') | third_party/WebKit/Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698