WebCore:
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 May 2008 00:28:38 +0000 (00:28 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 May 2008 00:28:38 +0000 (00:28 +0000)
commit3131d6dffc526124a6ce777a71fab06ece5fe82f
tree98f5d090234c15246eecf5fedbb93ebb9738a644
parent5e6349fe21401400992c14649272e4e13ea42b13
WebCore:

2008-05-12  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam.

        Handle the case when a resource with the same URL as the manifest is listed in the manifest.

        * loader/appcache/ApplicationCacheGroup.cpp:
        (WebCore::ApplicationCacheGroup::addEntry):

LayoutTests:

2008-05-12  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam.

        Add test with a manifest file that lists itself.

        * http/tests/appcache/manifest-containing-itself-expected.txt: Added.
        * http/tests/appcache/manifest-containing-itself.html: Added.
        * http/tests/appcache/resources/manifest-containing-itself.manifest: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/appcache/manifest-containing-itself-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/appcache/manifest-containing-itself.html [new file with mode: 0644]
LayoutTests/http/tests/appcache/resources/manifest-containing-itself.manifest [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/appcache/ApplicationCacheGroup.cpp