Changeset 199854 in webkit


Ignore:
Timestamp:
Apr 21, 2016 6:05:53 PM (8 years ago)
Author:
andersca@apple.com
Message:

WKWebView HTML5 AppCache not working
https://bugs.webkit.org/show_bug.cgi?id=156887
rdar://problem/17944162

Reviewed by Tim Horton.

  • Shared/WebPreferencesDefinitions.h:

Set the offlineWebApplicationCacheEnabled property to true by default.

  • UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm:

(API::WebsiteDataStore::defaultDataStoreConfiguration):
Set the default applicationCacheFlatFileSubdirectoryName to "Files".

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r199842 r199854  
     12016-04-21  Anders Carlsson  <andersca@apple.com>
     2
     3        WKWebView HTML5 AppCache not working
     4        https://bugs.webkit.org/show_bug.cgi?id=156887
     5        rdar://problem/17944162
     6
     7        Reviewed by Tim Horton.
     8
     9        * Shared/WebPreferencesDefinitions.h:
     10        Set the offlineWebApplicationCacheEnabled property to true by default.
     11
     12        * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm:
     13        (API::WebsiteDataStore::defaultDataStoreConfiguration):
     14        Set the default applicationCacheFlatFileSubdirectoryName to "Files".
     15
    1162016-04-21  Anders Carlsson  <andersca@apple.com>
    217
  • trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r199700 r199854  
    109109    macro(JavaEnabled, javaEnabled, Bool, bool, false, "", "") \
    110110    macro(JavaEnabledForLocalFiles, javaEnabledForLocalFiles, Bool, bool, false, "", "") \
    111     macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, false, "", "") \
     111    macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, true, "", "") \
    112112    macro(LocalStorageEnabled, localStorageEnabled, Bool, bool, true, "", "") \
    113113    macro(DatabasesEnabled, databasesEnabled, Bool, bool, true, "", "") \
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm

    r199326 r199854  
    176176
    177177    configuration.applicationCacheDirectory = defaultApplicationCacheDirectory();
     178    configuration.applicationCacheFlatFileSubdirectoryName = "Files";
    178179    configuration.networkCacheDirectory = defaultNetworkCacheDirectory();
    179180    configuration.mediaCacheDirectory = defaultMediaCacheDirectory();
Note: See TracChangeset for help on using the changeset viewer.