Revalidate expired resources if they're requested after the initial document load
authorsimonjam@chromium.org <simonjam@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Aug 2011 18:41:28 +0000 (18:41 +0000)
committersimonjam@chromium.org <simonjam@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Aug 2011 18:41:28 +0000 (18:41 +0000)
commit710a5a9150f3e96d9becf2d04635dec06c6c6602
tree098ce63cbc0aa128d955226adfc72c46e7c78c93
parent68b17a6203f6ebb38af0778d6bf03eae1c5b4b2b
Revalidate expired resources if they're requested after the initial document load
https://bugs.webkit.org/show_bug.cgi?id=52153

Reviewed by Antti Koivisto.

Source/WebCore:

Test: http/tests/cache/subresource-multiple-instances.html

* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::determineRevalidationPolicy):

LayoutTests:

* http/tests/cache/subresource-multiple-instances-expected.txt: Added.
* http/tests/cache/subresource-multiple-instances.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/cache/subresource-multiple-instances-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/cache/subresource-multiple-instances.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/loader/cache/CachedResourceLoader.cpp