2010-11-29 Gavin Peters <gavinp@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 19:45:27 +0000 (19:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 19:45:27 +0000 (19:45 +0000)
commitb1d5017c3c5adef3b0cd10d0dd414c0e090bb45a
tree280290282739f01a81b40837ac54cf1d83700e12
parent69e3c30f10c063e9b7ace59bc63172fd663eca76
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

        * 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: https://svn.webkit.org/repository/webkit/trunk@72817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/unloadable-script-expected.txt [moved from LayoutTests/fast/loader/unloadable-script-expected.txt with 63% similarity]
LayoutTests/http/tests/misc/unloadable-script.html [moved from LayoutTests/fast/loader/unloadable-script.html with 83% similarity]
LayoutTests/loader/reload-subresource-when-type-changes-expected.txt [new file with mode: 0644]
LayoutTests/loader/reload-subresource-when-type-changes.html [new file with mode: 0644]
LayoutTests/loader/resources/image1.png [new file with mode: 0644]
LayoutTests/loader/resources/image2.png [new file with mode: 0644]
LayoutTests/loader/resources/reload-subresource-when-type-changes.js [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/cache/MemoryCache.cpp