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

Side by Side Diff: WebCore/xml/XMLHttpRequest.cpp

Issue 28077: WebKit side of merge from r41149 to r41181. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/WebKit/
Patch Set: Created 11 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « WebCore/xml/XMLHttpRequest.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008 David Levin <levin@chromium.org> 5 * Copyright (C) 2008 David Levin <levin@chromium.org>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 return; 1161 return;
1162 1162
1163 if (error.isCancellation()) { 1163 if (error.isCancellation()) {
1164 abortError(); 1164 abortError();
1165 return; 1165 return;
1166 } 1166 }
1167 1167
1168 networkError(); 1168 networkError();
1169 } 1169 }
1170 1170
1171 void XMLHttpRequest::didFailWillSendRequestCheck() 1171 void XMLHttpRequest::didFailRedirectCheck()
1172 { 1172 {
1173 internalAbort(); 1173 internalAbort();
1174 networkError(); 1174 networkError();
1175 } 1175 }
1176 1176
1177 void XMLHttpRequest::didFinishLoading(unsigned long identifier) 1177 void XMLHttpRequest::didFinishLoading(unsigned long identifier)
1178 { 1178 {
1179 if (m_error) 1179 if (m_error)
1180 return; 1180 return;
1181 1181
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 ASSERT(!m_loader); 1411 ASSERT(!m_loader);
1412 ActiveDOMObject::contextDestroyed(); 1412 ActiveDOMObject::contextDestroyed();
1413 } 1413 }
1414 1414
1415 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const 1415 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const
1416 { 1416 {
1417 return ActiveDOMObject::scriptExecutionContext(); 1417 return ActiveDOMObject::scriptExecutionContext();
1418 } 1418 }
1419 1419
1420 } // namespace WebCore 1420 } // namespace WebCore
OLDNEW
« no previous file with comments | « WebCore/xml/XMLHttpRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698