OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |