Test persistent WKHTTPCookieStorages on iOS
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jun 2017 20:12:29 +0000 (20:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jun 2017 20:12:29 +0000 (20:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173284
<rdar://problem/32260156>

Patch by Alex Christensen <achristensen@webkit.org> on 2017-06-13
Reviewed by Alexey Proskuryakov.

* TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
(TEST):

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

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm

index 9cbec77..db560f3 100644 (file)
@@ -1,3 +1,14 @@
+2017-06-13  Alex Christensen  <achristensen@webkit.org>
+
+        Test persistent WKHTTPCookieStorages on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=173284
+        <rdar://problem/32260156>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
+        (TEST):
+
 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Blob download doesn't work
index 21c7b6c..23ebd2b 100644 (file)
@@ -203,8 +203,6 @@ TEST(WebKit2, WKHTTPCookieStoreWithoutProcessPool)
     }];
     TestWebKitAPI::Util::run(&finished);
     
-    // FIXME: Investigate why this doesn't work on iOS with the default persistent storage. rdar://problem/32260156
-#if !PLATFORM(IOS)
     finished = false;
     WKWebsiteDataStore *defaultStore = [WKWebsiteDataStore defaultDataStore];
     [defaultStore.httpCookieStore setCookie:cookie completionHandler:^ {
@@ -228,6 +226,5 @@ TEST(WebKit2, WKHTTPCookieStoreWithoutProcessPool)
         }];
     }];
     TestWebKitAPI::Util::run(&finished);
-#endif
 }
 #endif