| 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, 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. |
| 6 * Copyright (C) 2012 Intel Corporation | 6 * Copyright (C) 2012 Intel Corporation |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 XMLHttpRequest* XMLHttpRequest::create(ExecutionContext* context) { | 216 XMLHttpRequest* XMLHttpRequest::create(ExecutionContext* context) { |
| 217 XMLHttpRequest* xmlHttpRequest = new XMLHttpRequest(context, nullptr); | 217 XMLHttpRequest* xmlHttpRequest = new XMLHttpRequest(context, nullptr); |
| 218 xmlHttpRequest->suspendIfNeeded(); | 218 xmlHttpRequest->suspendIfNeeded(); |
| 219 | 219 |
| 220 return xmlHttpRequest; | 220 return xmlHttpRequest; |
| 221 } | 221 } |
| 222 | 222 |
| 223 XMLHttpRequest::XMLHttpRequest( | 223 XMLHttpRequest::XMLHttpRequest( |
| 224 ExecutionContext* context, | 224 ExecutionContext* context, |
| 225 PassRefPtr<SecurityOrigin> isolatedWorldSecurityOrigin) | 225 PassRefPtr<SecurityOrigin> isolatedWorldSecurityOrigin) |
| 226 : ActiveScriptWrappable(this), | 226 : ActiveScriptWrappable<XMLHttpRequest>(this), |
| 227 SuspendableObject(context), | 227 SuspendableObject(context), |
| 228 m_timeoutMilliseconds(0), | 228 m_timeoutMilliseconds(0), |
| 229 m_responseBlob(this, nullptr), | 229 m_responseBlob(this, nullptr), |
| 230 m_state(kUnsent), | 230 m_state(kUnsent), |
| 231 m_responseDocument(this, nullptr), | 231 m_responseDocument(this, nullptr), |
| 232 m_lengthDownloadedToFile(0), | 232 m_lengthDownloadedToFile(0), |
| 233 m_responseArrayBuffer(this, nullptr), | 233 m_responseArrayBuffer(this, nullptr), |
| 234 m_receivedLength(0), | 234 m_receivedLength(0), |
| 235 m_exceptionCode(0), | 235 m_exceptionCode(0), |
| 236 m_progressEventThrottle( | 236 m_progressEventThrottle( |
| (...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1847 visitor->traceWrappers(m_responseDocument); | 1847 visitor->traceWrappers(m_responseDocument); |
| 1848 visitor->traceWrappers(m_responseArrayBuffer); | 1848 visitor->traceWrappers(m_responseArrayBuffer); |
| 1849 XMLHttpRequestEventTarget::traceWrappers(visitor); | 1849 XMLHttpRequestEventTarget::traceWrappers(visitor); |
| 1850 } | 1850 } |
| 1851 | 1851 |
| 1852 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { | 1852 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { |
| 1853 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); | 1853 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 } // namespace blink | 1856 } // namespace blink |
| OLD | NEW |