2008-04-21 Anders Carlsson <andersca@apple.com>
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Apr 2008 22:21:24 +0000 (22:21 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Apr 2008 22:21:24 +0000 (22:21 +0000)
commit4631a5b430ce66a0e2f9033bbd689a62ee8ce889
tree79174c696ffab27bc0754cc06673a91966432928
parent856e10766e4d6b9a3a30bac6378b3559a9ac5848
2008-04-21  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam.

        Perform cache selection. If a main resource has a URL that exists in a cache, load it from there.

        * html/HTMLAttributeNames.in:
        Add manifest attribute.

        * html/HTMLHtmlElement.cpp:
        (WebCore::HTMLHtmlElement::insertedIntoDocument):
        * html/HTMLHtmlElement.h:
        Perform cache selection.

        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::load):
        * loader/appcache/ApplicationCacheGroup.cpp:
        (WebCore::cacheHostSet):
        (WebCore::urlHostHash):
        (WebCore::ApplicationCacheGroup::cacheForRequest):
        (WebCore::ApplicationCacheGroup::selectCache):
        * loader/appcache/ApplicationCacheGroup.h:
        * platform/KURL.h:
        (WebCore::KURL::hostStart):
        (WebCore::KURL::hostEnd):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLAttributeNames.in
WebCore/html/HTMLHtmlElement.cpp
WebCore/html/HTMLHtmlElement.h
WebCore/loader/MainResourceLoader.cpp
WebCore/loader/appcache/ApplicationCacheGroup.cpp
WebCore/loader/appcache/ApplicationCacheGroup.h
WebCore/platform/KURL.h