| 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 send(data.getAsBlob(), exceptionState); | 841 send(data.getAsBlob(), exceptionState); |
| 842 return; | 842 return; |
| 843 } | 843 } |
| 844 | 844 |
| 845 if (data.isDocument()) { | 845 if (data.isDocument()) { |
| 846 send(data.getAsDocument().get(), exceptionState); | 846 send(data.getAsDocument().get(), exceptionState); |
| 847 return; | 847 return; |
| 848 } | 848 } |
| 849 | 849 |
| 850 if (data.isFormData()) { | 850 if (data.isFormData()) { |
| 851 send(data.getAsFormData().get(), exceptionState); | 851 send(data.getAsFormData(), exceptionState); |
| 852 return; | 852 return; |
| 853 } | 853 } |
| 854 | 854 |
| 855 ASSERT(data.isString()); | 855 ASSERT(data.isString()); |
| 856 send(data.getAsString(), exceptionState); | 856 send(data.getAsString(), exceptionState); |
| 857 } | 857 } |
| 858 | 858 |
| 859 void XMLHttpRequest::send(ExceptionState& exceptionState) | 859 void XMLHttpRequest::send(ExceptionState& exceptionState) |
| 860 { | 860 { |
| 861 InspectorInstrumentation::willSendXMLHttpRequest(executionContext(), url()); | 861 InspectorInstrumentation::willSendXMLHttpRequest(executionContext(), url()); |
| (...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1887 visitor->trace(m_responseDocumentParser); | 1887 visitor->trace(m_responseDocumentParser); |
| 1888 visitor->trace(m_progressEventThrottle); | 1888 visitor->trace(m_progressEventThrottle); |
| 1889 visitor->trace(m_upload); | 1889 visitor->trace(m_upload); |
| 1890 visitor->trace(m_blobLoader); | 1890 visitor->trace(m_blobLoader); |
| 1891 XMLHttpRequestEventTarget::trace(visitor); | 1891 XMLHttpRequestEventTarget::trace(visitor); |
| 1892 DocumentParserClient::trace(visitor); | 1892 DocumentParserClient::trace(visitor); |
| 1893 ActiveDOMObject::trace(visitor); | 1893 ActiveDOMObject::trace(visitor); |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 } // namespace blink | 1896 } // namespace blink |
| OLD | NEW |