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

Unified Diff: Source/web/AssociatedURLLoaderTest.cpp

Issue 1262593004: Prevent ThreadableLoaderClient methods from being called after failure notification (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't clear the resource in didFinishLoading Created 5 years, 4 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
« Source/core/page/EventSource.cpp ('K') | « Source/core/page/EventSource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/AssociatedURLLoaderTest.cpp
diff --git a/Source/web/AssociatedURLLoaderTest.cpp b/Source/web/AssociatedURLLoaderTest.cpp
index b72896aebec6be92d3b033336ca5aea0c8a837f7..07000f39c3665d78f35a342a42f9305de8535161 100644
--- a/Source/web/AssociatedURLLoaderTest.cpp
+++ b/Source/web/AssociatedURLLoaderTest.cpp
@@ -548,7 +548,7 @@ TEST_F(AssociatedURLLoaderTest, RedirectCrossOriginWithAccessControlFailure)
// We should get a notification about access control check failure.
EXPECT_FALSE(m_willSendRequest);
EXPECT_FALSE(m_didReceiveResponse);
- EXPECT_TRUE(m_didReceiveData);
+ EXPECT_FALSE(m_didReceiveData);
EXPECT_TRUE(m_didFail);
}
« Source/core/page/EventSource.cpp ('K') | « Source/core/page/EventSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698