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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2395313002: Revert of Make ResourceFetcher return Resources with LoadError instead of nullptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0f80cf82e11d0f746fc9515b75baacb6f38e9153..90125c3b68cb5fe98aeddd30222f760ac61cbced 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -7887,10 +7887,7 @@
Resource* resource = fetchManifest(
document, toKURL(m_notBaseURL + "link-manifest-fetch.json"));
- // Fetching resource wasn't allowed.
- ASSERT_TRUE(resource);
- EXPECT_TRUE(resource->errorOccurred());
- EXPECT_TRUE(resource->resourceError().isAccessCheck());
+ EXPECT_EQ(0, resource); // Fetching resource wasn't allowed.
}
TEST_P(ParameterizedWebFrameTest, ManifestCSPFetchSelfReportOnly) {
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698