Title: [199854] trunk/Source/WebKit2
Revision
199854
Author
ander...@apple.com
Date
2016-04-21 18:05:53 -0700 (Thu, 21 Apr 2016)

Log 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".

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (199853 => 199854)


--- trunk/Source/WebKit2/ChangeLog	2016-04-22 01:03:39 UTC (rev 199853)
+++ trunk/Source/WebKit2/ChangeLog	2016-04-22 01:05:53 UTC (rev 199854)
@@ -1,5 +1,20 @@
 2016-04-21  Anders Carlsson  <ander...@apple.com>
 
+        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".
+
+2016-04-21  Anders Carlsson  <ander...@apple.com>
+
         Get rid of the last uses of ApplicationCacheStorage::singleton() from WebKit2
         https://bugs.webkit.org/show_bug.cgi?id=156876
 

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (199853 => 199854)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-04-22 01:03:39 UTC (rev 199853)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-04-22 01:05:53 UTC (rev 199854)
@@ -108,7 +108,7 @@
     macro(PluginsEnabled, pluginsEnabled, Bool, bool, false, "", "") \
     macro(JavaEnabled, javaEnabled, Bool, bool, false, "", "") \
     macro(JavaEnabledForLocalFiles, javaEnabledForLocalFiles, Bool, bool, false, "", "") \
-    macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, false, "", "") \
+    macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, true, "", "") \
     macro(LocalStorageEnabled, localStorageEnabled, Bool, bool, true, "", "") \
     macro(DatabasesEnabled, databasesEnabled, Bool, bool, true, "", "") \
     macro(XSSAuditorEnabled, xssAuditorEnabled, Bool, bool, true, "", "") \

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm (199853 => 199854)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm	2016-04-22 01:03:39 UTC (rev 199853)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm	2016-04-22 01:05:53 UTC (rev 199854)
@@ -175,6 +175,7 @@
     WebKit::WebsiteDataStore::Configuration configuration;
 
     configuration.applicationCacheDirectory = defaultApplicationCacheDirectory();
+    configuration.applicationCacheFlatFileSubdirectoryName = "Files";
     configuration.networkCacheDirectory = defaultNetworkCacheDirectory();
     configuration.mediaCacheDirectory = defaultMediaCacheDirectory();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to