Changeset 225743 in webkit
- Timestamp:
- Dec 11, 2017 9:38:57 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r225741 r225743 1 2017-12-11 Basuke Suzuki <Basuke.Suzuki@sony.com> 2 3 [WinCairo] DumpRenderTree times out for all non-http tests 4 https://bugs.webkit.org/show_bug.cgi?id=180571 5 6 Reviewed by Alex Christensen. 7 8 Bug fix on processing the curl event for file protocol. 9 10 No new tests. This fix is to run existing tests. 11 12 * platform/network/curl/CurlRequest.cpp: 13 (WebCore::CurlRequest::completeDidReceiveResponse): 14 * platform/network/curl/CurlRequest.h: 15 (WebCore::CurlRequest::isCompleted const): 16 (WebCore::CurlRequest::isCancelled const): 17 (WebCore::CurlRequest::isCompletedOrCancelled const): 18 1 19 2017-12-11 Manuel Rego Casasnovas <rego@igalia.com> 2 20 -
trunk/Source/WebCore/platform/network/curl/CurlRequest.cpp
r224386 r225743 537 537 ASSERT(!m_didReturnFromNotify); 538 538 539 if (isCompletedOrCancelled()) 539 if (isCancelled()) 540 return; 541 542 if (m_actionAfterInvoke != Action::StartTransfer && isCompleted()) 540 543 return; 541 544 -
trunk/Source/WebCore/platform/network/curl/CurlRequest.h
r224386 r225743 61 61 62 62 bool isSyncRequest() const { return m_isSyncRequest; } 63 bool isCompletedOrCancelled() const { return !m_curlHandle || m_cancelled; } 63 bool isCompleted() const { return !m_curlHandle; } 64 bool isCancelled() const { return m_cancelled; } 65 bool isCompletedOrCancelled() const { return isCompleted() || isCancelled(); } 64 66 65 67
Note: See TracChangeset
for help on using the changeset viewer.