Skip to content
  • commit-queue@webkit.org's avatar
    2011-03-22 Anton D'Auria <adauria@apple.com> · 13f1be69
    commit-queue@webkit.org authored
            Reviewed by Alexey Proskuryakov.
    
            Add +[WebApplicationCache getOriginsWithCache]
            https://bugs.webkit.org/show_bug.cgi?id=56722
    
            This test twice retrieves lists of origins with application cache.
            First, after deleting all application cache and after adding an iframe with an
            application cache.
    
            * http/tests/appcache/origins-with-appcache-expected.txt: Added.
            * http/tests/appcache/origins-with-appcache.html: Added.
            * http/tests/appcache/resources/origins-with-appcache-iframe.html: Added.
            * http/tests/appcache/resources/origins-with-appcache-iframe.manifest: Added.
            * platform/chromium/test_expectations.txt:
            * platform/gtk/Skipped:
            * platform/mac-wk2/Skipped:
            * platform/qt-wk2/Skipped:
            * platform/qt/Skipped:
    2011-03-22  Anton D'Auria  <adauria@apple.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add +[WebApplicationCache getOriginsWithCache]
            https://bugs.webkit.org/show_bug.cgi?id=56722
    
            Added test that exercises WebCore API to get origins with application cache.
    
            Test: http/tests/appcache/origins-with-appcache.html
    
            * loader/appcache/ApplicationCacheStorage.cpp:
            (WebCore::ApplicationCacheStorage::getOriginsWithCache):
            * loader/appcache/ApplicationCacheStorage.h:
    2011-03-22  Anton D'Auria  <adauria@apple.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add +[WebApplicationCache getOriginsWithCache]
            https://bugs.webkit.org/show_bug.cgi?id=56722
    
            Call existing WebCore::ApplicationCacheStorage::getOriginsWithCache API.
    
            * WebCoreSupport/WebApplicationCache.h:
            * WebCoreSupport/WebApplicationCache.mm:
            (+[WebApplicationCache originsWithCache]):
    2011-03-22  Anton D'Auria  <adauria@apple.com>
    
            Reviewed by Alexey Proskuryakov.
    
            Add +[WebApplicationCache getOriginsWithCache]
            https://bugs.webkit.org/show_bug.cgi?id=56722
    
            * DumpRenderTree/LayoutTestController.cpp:
            (originsWithApplicationCacheCallback):
            (LayoutTestController::staticFunctions):
            * DumpRenderTree/LayoutTestController.h:
            * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
            (LayoutTestController::originsWithApplicationCache):
            * DumpRenderTree/chromium/LayoutTestController.h:
            * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
            (LayoutTestController::originsWithApplicationCache):
            * DumpRenderTree/mac/LayoutTestControllerMac.mm: Pass array of origin's database identifiers.
            (originsArrayToJS): Helper function for converting array of WebSecurityOrigins to a JS array of origin identifiers.
            (LayoutTestController::originsWithApplicationCache):
            (LayoutTestController::originsWithLocalStorage):
            * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
            (LayoutTestController::originsWithApplicationCache):
            * DumpRenderTree/qt/LayoutTestControllerQt.h:
            * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
            (LayoutTestController::originsWithApplicationCache):
            * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added stub.
            (LayoutTestController::originsWithApplicationCache):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    13f1be69