| 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 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 m_receivedLength = 0; | 952 m_receivedLength = 0; |
| 953 | 953 |
| 954 m_response = ResourceResponse(); | 954 m_response = ResourceResponse(); |
| 955 | 955 |
| 956 m_responseText.clear(); | 956 m_responseText.clear(); |
| 957 | 957 |
| 958 m_createdDocument = false; | 958 m_createdDocument = false; |
| 959 m_responseDocument = nullptr; | 959 m_responseDocument = nullptr; |
| 960 | 960 |
| 961 m_responseBlob = nullptr; | 961 m_responseBlob = nullptr; |
| 962 m_downloadedBlobLength = 0; |
| 962 | 963 |
| 963 m_responseStream = nullptr; | 964 m_responseStream = nullptr; |
| 964 | 965 |
| 965 // These variables may referred by the response accessors. So, we can clear | 966 // These variables may referred by the response accessors. So, we can clear |
| 966 // this only when we clear the response holder variables above. | 967 // this only when we clear the response holder variables above. |
| 967 m_binaryResponseBuilder.clear(); | 968 m_binaryResponseBuilder.clear(); |
| 968 m_responseArrayBuffer.clear(); | 969 m_responseArrayBuffer.clear(); |
| 969 } | 970 } |
| 970 | 971 |
| 971 void XMLHttpRequest::clearRequest() | 972 void XMLHttpRequest::clearRequest() |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1421 { | 1422 { |
| 1422 return EventTargetNames::XMLHttpRequest; | 1423 return EventTargetNames::XMLHttpRequest; |
| 1423 } | 1424 } |
| 1424 | 1425 |
| 1425 ExecutionContext* XMLHttpRequest::executionContext() const | 1426 ExecutionContext* XMLHttpRequest::executionContext() const |
| 1426 { | 1427 { |
| 1427 return ActiveDOMObject::executionContext(); | 1428 return ActiveDOMObject::executionContext(); |
| 1428 } | 1429 } |
| 1429 | 1430 |
| 1430 } // namespace WebCore | 1431 } // namespace WebCore |
| OLD | NEW |