Skip to content
  • andersca@apple.com's avatar
    WebCore: · bbe3968b
    andersca@apple.com authored
    2008-05-12  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Adam.
    
            Make it possible to perform synchronous loads from the application cache.
            
            * loader/DocumentLoader.cpp:
            (WebCore::DocumentLoader::shouldLoadResourceFromApplicationCache):
            Factor out code from scheduleApplicationCacheLoad in its own method.
            
            (WebCore::DocumentLoader::scheduleApplicationCacheLoad):
            Call shouldLoadResourceFromApplicationCache here instead.
            
            * loader/DocumentLoader.h:
            
            * loader/FrameLoader.cpp:
            (WebCore::FrameLoader::loadResourceSynchronously):
            Call shouldLoadResourceFromApplicationCache.
    
    WebKitTools:
    
    2008-05-12  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Adam.
    
            Add support for testing application caches.
            
            * DumpRenderTree/mac/DumpRenderTree.mm:
            (dumpRenderTree):
            Empty the cache.
            
            (resetWebViewToConsistentStateBeforeTesting):
            Turn on support for the application cache.
    
    LayoutTests:
    
    2008-05-12  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Adam.
    
            Add simple appcache test.
    
            * http/conf/mime.types:
            * http/tests/appcache: Added.
            * http/tests/appcache/resources: Added.
            * http/tests/appcache/resources/not-in-cache.txt: Added.
            * http/tests/appcache/resources/simple.manifest: Added.
            * http/tests/appcache/resources/simple.txt: Added.
            * http/tests/appcache/simple-expected.txt: Added.
            * http/tests/appcache/simple.html: Added.
            * platform/gtk/Skipped:
            * platform/qt/Skipped:
            * platform/win/Skipped:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bbe3968b