DescriptionMerge 102602 - Source/WebCore: A SubresourceLoader in the middle of revalidating
a resource should be treated as finishing (similar to
didFinishLoading and didFail) to ensure that willCancel()
doesn't declare the revalidation as having failed reentrantly.
https://bugs.webkit.org/show_bug.cgi?id=72762
Reviewed by Adam Barth.
Test: http/tests/cache/cancel-during-revalidation-succeeded.html
* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse):
LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=72762
Reviewed by Adam Barth.
* http/tests/cache/cancel-during-revalidation-succeeded-expected.txt: Added.
* http/tests/cache/cancel-during-revalidation-succeeded.html: Added.
* http/tests/cache/resources/stylesheet304.php: Added.
TBR=japhet@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102614
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|