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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 467593002: Fix incorrect comment about XMLHttpRequest::handleDidCancel() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index 5b6abc437918101b27e896c7360ac00c805ce47c..f15701f1db7a3412c571f67f3f715be8f794e935 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -211,7 +211,9 @@ private:
void handleDidFailGeneric();
// Handles didFail() call not caused by cancellation or timeout.
void handleNetworkError();
- // Handles didFail() call triggered by m_loader->cancel().
+ // Handles didFail() call for cancellations. For example, the
+ // ResourceLoader handling the load notifies m_loader of an error
+ // cancellation when the frame containing the XHR navigates away.
void handleDidCancel();
// Handles didFail() call for timeout.
void handleDidTimeout();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698