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

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

Issue 1060113004: [XMLHttpRequest] Stop throwing for network error in async mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebease Created 5 years, 5 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: Source/core/xmlhttprequest/XMLHttpRequest.h
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.h b/Source/core/xmlhttprequest/XMLHttpRequest.h
index dfe0b31ce9f1fd73e40d9df610763a4b57e70564..48d30ed622ff7692e29a4b2e9c74cf2c8fca8cf8 100644
--- a/Source/core/xmlhttprequest/XMLHttpRequest.h
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.h
@@ -199,6 +199,8 @@ private:
bool areMethodAndURLValidForSend();
+ void throwForLoadFailureIfNeeded(ExceptionState&, const String&);
+
bool initSend(ExceptionState&);
void sendBytesData(const void*, size_t, ExceptionState&);
void send(Document*, ExceptionState&);
« no previous file with comments | « LayoutTests/security/resources/cannot-read-self-from-file.html ('k') | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698