-
commit-queue@webkit.org authored
Reviewed by Adam Barth. Web page can prevent WebKit from loading subresources on other pages (cache poisoning) https://bugs.webkit.org/show_bug.cgi?id=35404 * http/tests/misc/unloadable-script-expected.txt: Renamed from LayoutTests/fast/loader/unloadable-script-expected.txt. * http/tests/misc/unloadable-script.html: Renamed from LayoutTests/fast/loader/unloadable-script.html. * loader/reload-subresource-when-type-changes-expected.txt: Added. * loader/reload-subresource-when-type-changes.html: Added. * loader/resources/image1.png: Added. * loader/resources/image2.png: Added. * loader/resources/reload-subresource-when-type-changes.js: Added. 2010-11-29 Gavin Peters <gavinp@chromium.org> Reviewed by Adam Barth. Web page can prevent WebKit from loading subresources on other pages (cache poisoning) https://bugs.webkit.org/show_bug.cgi?id=35404 Tests: http/tests/misc/unloadable-script.html loader/reload-subresource-when-type-changes.html * loader/cache/MemoryCache.cpp: (WebCore::MemoryCache::requestResource): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0bc7ea92