Changeset 140174 in webkit
- Timestamp:
- Jan 18, 2013 10:25:16 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r140173 r140174 1 2013-01-18 Nate Chapin <japhet@chromium.org> 2 3 Cannot abort multiple XHR POSTs made to same url 4 https://bugs.webkit.org/show_bug.cgi?id=106937 5 6 Reviewed by Alexey Proskuryakov. 7 8 * http/tests/cache/cancel-multiple-post-xhrs-expected.txt: Added. 9 * http/tests/cache/cancel-multiple-post-xhrs.html: Added. 10 * platform/mac/TestExpectations: 11 1 12 2013-01-18 Dima Gorbik <dgorbik@apple.com> 2 13 -
trunk/LayoutTests/platform/mac/TestExpectations
r140106 r140174 379 379 http/tests/inspector/network/network-size-chunked.html 380 380 http/tests/inspector/network/network-size-sync.html 381 382 # https://bugs.webkit.org/show_bug.cgi?id=64097383 http/tests/inspector/network/network-disable-cache-memory.html384 http/tests/inspector/network/network-disable-cache-xhrs.html385 381 386 382 # Quota API is not supported. -
trunk/Source/WebCore/ChangeLog
r140173 r140174 1 2013-01-18 Nate Chapin <japhet@chromium.org> 2 3 Cannot abort multiple XHR POSTs made to same url 4 https://bugs.webkit.org/show_bug.cgi?id=106937 5 6 Reviewed by Alexey Proskuryakov. 7 8 Test: http/tests/cache/cancel-multiple-post-xhrs.html 9 10 * loader/cache/CachedResource.cpp: 11 (WebCore::CachedResource::removeClient): Call allClientsRemoved() regardless 12 of whether this resource is inCache(). Otherwise, CachedRawResources will 13 not have the opportunity to cancel as expected. However, don't cancel 14 if the last client was removed because we're in the middle of switching 15 the clients over to a successfully revalidated resource. 16 1 17 2013-01-18 Dima Gorbik <dgorbik@apple.com> 2 18 -
trunk/Source/WebCore/loader/cache/CachedResource.cpp
r140105 r140174 526 526 527 527 bool deleted = deleteIfPossible(); 528 if (!deleted && !hasClients() && inCache()) { 529 memoryCache()->removeFromLiveResourcesSize(this); 530 memoryCache()->removeFromLiveDecodedResourcesList(this); 531 allClientsRemoved(); 528 if (!deleted && !hasClients()) { 529 if (inCache()) { 530 memoryCache()->removeFromLiveResourcesSize(this); 531 memoryCache()->removeFromLiveDecodedResourcesList(this); 532 } 533 if (!m_switchingClientsToRevalidatedResource) 534 allClientsRemoved(); 532 535 destroyDecodedDataIfNeeded(); 533 536 if (response().cacheControlContainsNoStore()) {
Note: See TracChangeset
for help on using the changeset viewer.