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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 send(String(), exceptionState); | 707 send(String(), exceptionState); |
708 return; | 708 return; |
709 } | 709 } |
710 | 710 |
711 if (body.isArrayBuffer()) { | 711 if (body.isArrayBuffer()) { |
712 send(body.getAsArrayBuffer(), exceptionState); | 712 send(body.getAsArrayBuffer(), exceptionState); |
713 return; | 713 return; |
714 } | 714 } |
715 | 715 |
716 if (body.isArrayBufferView()) { | 716 if (body.isArrayBufferView()) { |
717 send(body.getAsArrayBufferView(), exceptionState); | 717 send(body.getAsArrayBufferView().view(), exceptionState); |
718 return; | 718 return; |
719 } | 719 } |
720 | 720 |
721 if (body.isBlob()) { | 721 if (body.isBlob()) { |
722 send(body.getAsBlob(), exceptionState); | 722 send(body.getAsBlob(), exceptionState); |
723 return; | 723 return; |
724 } | 724 } |
725 | 725 |
726 if (body.isDocument()) { | 726 if (body.isDocument()) { |
727 send(body.getAsDocument(), exceptionState); | 727 send(body.getAsDocument(), exceptionState); |
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1882 visitor->traceWrappers(m_responseDocument); | 1882 visitor->traceWrappers(m_responseDocument); |
1883 visitor->traceWrappers(m_responseArrayBuffer); | 1883 visitor->traceWrappers(m_responseArrayBuffer); |
1884 XMLHttpRequestEventTarget::traceWrappers(visitor); | 1884 XMLHttpRequestEventTarget::traceWrappers(visitor); |
1885 } | 1885 } |
1886 | 1886 |
1887 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { | 1887 std::ostream& operator<<(std::ostream& ostream, const XMLHttpRequest* xhr) { |
1888 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); | 1888 return ostream << "XMLHttpRequest " << static_cast<const void*>(xhr); |
1889 } | 1889 } |
1890 | 1890 |
1891 } // namespace blink | 1891 } // namespace blink |
OLD | NEW |