Enable WebKit disk cache on OS X
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2015 22:54:17 +0000 (22:54 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jan 2015 22:54:17 +0000 (22:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141022

Reviewed by Gavin Barraclough.

Source/WebKit2:

* config.h: Flip the switch.

LayoutTests:

* TestExpectations: Enable the test for cache functionality.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/TestExpectations
Source/WebKit2/ChangeLog
Source/WebKit2/config.h

index 92a4201..88a5789 100644 (file)
@@ -1,3 +1,12 @@
+2015-01-31  Antti Koivisto  <antti@apple.com>
+
+        Enable WebKit disk cache on OS X
+        https://bugs.webkit.org/show_bug.cgi?id=141022
+
+        Reviewed by Gavin Barraclough.
+
+        * TestExpectations: Enable the test for cache functionality.
+
 2015-01-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
 
         Import W3C web platform tests infrastructure
index 906b406..118c446 100644 (file)
@@ -332,9 +332,6 @@ webkit.org/b/139595 http/tests/xmlhttprequest/workers/abort-exception-assert.htm
 [ Debug ] fast/history/history-back-while-pdf-in-pagecache.html [ Skip ]
 webkit.org/b/121628 [ Release ] fast/history/history-back-while-pdf-in-pagecache.html [ Pass ImageOnlyFailure ]
 
-# Network process disk cache is not enabled yet
-webkit.org/b/30322 http/tests/cache/disk-cache-validation.html [ Skip ]
-
 webkit.org/b/139634 [ Debug ] fast/selectors/matches-backtracking.html [ Slow ]
 webkit.org/b/139634 [ Debug ] fast/selectors/nth-child-of-register-requirement.html [ Slow ]
 webkit.org/b/139634 [ Debug ] fast/selectors/not-backtracking.html [ Slow ]
index ac60b00..5506312 100644 (file)
@@ -1,5 +1,14 @@
 2015-01-31  Antti Koivisto  <antti@apple.com>
 
+        Enable WebKit disk cache on OS X
+        https://bugs.webkit.org/show_bug.cgi?id=141022
+
+        Reviewed by Gavin Barraclough.
+
+        * config.h: Flip the switch.
+
+2015-01-31  Antti Koivisto  <antti@apple.com>
+
         Unreviewed, rolling out r179447.
 
         Forgot to include the test.
index dc5bf0b..1f3f0eb 100644 (file)
@@ -82,7 +82,9 @@
 #endif
 
 #ifndef ENABLE_NETWORK_CACHE
-#if (PLATFORM(MAC) || PLATFORM(GTK)) && ENABLE(NETWORK_PROCESS)
+#if ENABLE(NETWORK_PROCESS) && PLATFORM(MAC)
+#define ENABLE_NETWORK_CACHE 1
+#else
 #define ENABLE_NETWORK_CACHE 0
 #endif
 #endif