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

Unified Diff: Source/web/AssociatedURLLoader.cpp

Issue 689293003: Notify client when AssociatedURLLoader fail because of unallowed redirect. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/web/tests/AssociatedURLLoaderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/AssociatedURLLoader.cpp
diff --git a/Source/web/AssociatedURLLoader.cpp b/Source/web/AssociatedURLLoader.cpp
index 9fd795ed76d8fd5396cbe2e08c745281695f51fb..81dd0fc0199757c4e00d5a3c69e1cda5a8a0122c 100644
--- a/Source/web/AssociatedURLLoader.cpp
+++ b/Source/web/AssociatedURLLoader.cpp
@@ -263,7 +263,7 @@ void AssociatedURLLoader::ClientAdapter::didFail(const ResourceError& error)
void AssociatedURLLoader::ClientAdapter::didFailRedirectCheck()
{
- m_loader->cancel();
+ didFail(ResourceError());
}
void AssociatedURLLoader::ClientAdapter::setDelayedError(const ResourceError& error)
« no previous file with comments | « no previous file | Source/web/tests/AssociatedURLLoaderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698