| 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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 } | 742 } |
| 743 | 743 |
| 744 if (m_requestHeaders.size() > 0) | 744 if (m_requestHeaders.size() > 0) |
| 745 request.addHTTPHeaderFields(m_requestHeaders); | 745 request.addHTTPHeaderFields(m_requestHeaders); |
| 746 | 746 |
| 747 ThreadableLoaderOptions options; | 747 ThreadableLoaderOptions options; |
| 748 options.sendLoadCallbacks = SendCallbacks; | 748 options.sendLoadCallbacks = SendCallbacks; |
| 749 options.sniffContent = DoNotSniffContent; | 749 options.sniffContent = DoNotSniffContent; |
| 750 options.preflightPolicy = uploadEvents ? ForcePreflight : ConsiderPreflight; | 750 options.preflightPolicy = uploadEvents ? ForcePreflight : ConsiderPreflight; |
| 751 options.allowCredentials = (m_sameOriginRequest || m_includeCredentials) ? A
llowStoredCredentials : DoNotAllowStoredCredentials; | 751 options.allowCredentials = (m_sameOriginRequest || m_includeCredentials) ? A
llowStoredCredentials : DoNotAllowStoredCredentials; |
| 752 options.credentialsRequested = m_includeCredentials ? ClientRequestedCredent
ials : ClientDidNotRequestCredentials; |
| 752 options.crossOriginRequestPolicy = UseAccessControl; | 753 options.crossOriginRequestPolicy = UseAccessControl; |
| 753 options.securityOrigin = securityOrigin(); | 754 options.securityOrigin = securityOrigin(); |
| 754 options.initiator = cachedResourceRequestInitiators().xmlhttprequest; | 755 options.initiator = cachedResourceRequestInitiators().xmlhttprequest; |
| 755 | 756 |
| 756 #if ENABLE(XHR_TIMEOUT) | 757 #if ENABLE(XHR_TIMEOUT) |
| 757 if (m_timeoutMilliseconds) | 758 if (m_timeoutMilliseconds) |
| 758 request.setTimeoutInterval(m_timeoutMilliseconds / 1000.0); | 759 request.setTimeoutInterval(m_timeoutMilliseconds / 1000.0); |
| 759 #endif | 760 #endif |
| 760 | 761 |
| 761 m_exceptionCode = 0; | 762 m_exceptionCode = 0; |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 info.addMember(m_responseDocument, "responseDocument"); | 1286 info.addMember(m_responseDocument, "responseDocument"); |
| 1286 info.addMember(m_binaryResponseBuilder, "binaryResponseBuilder"); | 1287 info.addMember(m_binaryResponseBuilder, "binaryResponseBuilder"); |
| 1287 info.addMember(m_responseArrayBuffer, "responseArrayBuffer"); | 1288 info.addMember(m_responseArrayBuffer, "responseArrayBuffer"); |
| 1288 info.addMember(m_lastSendURL, "lastSendURL"); | 1289 info.addMember(m_lastSendURL, "lastSendURL"); |
| 1289 info.addMember(m_eventTargetData, "eventTargetData"); | 1290 info.addMember(m_eventTargetData, "eventTargetData"); |
| 1290 info.addMember(m_progressEventThrottle, "progressEventThrottle"); | 1291 info.addMember(m_progressEventThrottle, "progressEventThrottle"); |
| 1291 info.addMember(m_securityOrigin, "securityOrigin"); | 1292 info.addMember(m_securityOrigin, "securityOrigin"); |
| 1292 } | 1293 } |
| 1293 | 1294 |
| 1294 } // namespace WebCore | 1295 } // namespace WebCore |
| OLD | NEW |