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 , m_async(true) | 216 , m_async(true) |
217 , m_includeCredentials(false) | 217 , m_includeCredentials(false) |
218 , m_parsedResponse(false) | 218 , m_parsedResponse(false) |
219 , m_error(false) | 219 , m_error(false) |
220 , m_uploadEventsAllowed(true) | 220 , m_uploadEventsAllowed(true) |
221 , m_uploadComplete(false) | 221 , m_uploadComplete(false) |
222 , m_sameOriginRequest(true) | 222 , m_sameOriginRequest(true) |
223 , m_downloadingToFile(false) | 223 , m_downloadingToFile(false) |
224 , m_responseTextOverflow(false) | 224 , m_responseTextOverflow(false) |
225 { | 225 { |
226 #if ENABLE(ASSERT) && !ENABLE(OILPAN) | |
227 // Verify that this object was allocated on the 'eager' heap. | |
228 // (this check comes 'for free' with Oilpan enabled.) | |
229 ASSERT(IS_EAGERLY_FINALIZED()); | |
230 #endif | |
231 } | 226 } |
232 | 227 |
233 XMLHttpRequest::~XMLHttpRequest() | 228 XMLHttpRequest::~XMLHttpRequest() |
234 { | 229 { |
235 } | 230 } |
236 | 231 |
237 Document* XMLHttpRequest::document() const | 232 Document* XMLHttpRequest::document() const |
238 { | 233 { |
239 ASSERT(getExecutionContext()->isDocument()); | 234 ASSERT(getExecutionContext()->isDocument()); |
240 return toDocument(getExecutionContext()); | 235 return toDocument(getExecutionContext()); |
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 visitor->trace(m_responseArrayBuffer); | 1702 visitor->trace(m_responseArrayBuffer); |
1708 visitor->trace(m_progressEventThrottle); | 1703 visitor->trace(m_progressEventThrottle); |
1709 visitor->trace(m_upload); | 1704 visitor->trace(m_upload); |
1710 visitor->trace(m_blobLoader); | 1705 visitor->trace(m_blobLoader); |
1711 XMLHttpRequestEventTarget::trace(visitor); | 1706 XMLHttpRequestEventTarget::trace(visitor); |
1712 DocumentParserClient::trace(visitor); | 1707 DocumentParserClient::trace(visitor); |
1713 ActiveDOMObject::trace(visitor); | 1708 ActiveDOMObject::trace(visitor); |
1714 } | 1709 } |
1715 | 1710 |
1716 } // namespace blink | 1711 } // namespace blink |
OLD | NEW |