Test persistent WKHTTPCookieStorages on iOS
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:12:11 +0000 (01:12 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jun 2017 01:12:11 +0000 (01:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173284
<rdar://problem/32260156>

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

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

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

index e4b1fda..88760aa 100644 (file)
@@ -1,3 +1,12 @@
+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>
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
+        (TEST):
+
 2017-06-13  Matt Rajca  <mrajca@apple.com>
 
         WebsitePolicies: let clients select specific autoplay quirks
index 23ebd2b..4142524 100644 (file)
@@ -203,6 +203,7 @@ TEST(WebKit2, WKHTTPCookieStoreWithoutProcessPool)
     }];
     TestWebKitAPI::Util::run(&finished);
     
+#if PLATFORM(MAC) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
     finished = false;
     WKWebsiteDataStore *defaultStore = [WKWebsiteDataStore defaultDataStore];
     [defaultStore.httpCookieStore setCookie:cookie completionHandler:^ {
@@ -226,5 +227,6 @@ TEST(WebKit2, WKHTTPCookieStoreWithoutProcessPool)
         }];
     }];
     TestWebKitAPI::Util::run(&finished);
+#endif
 }
 #endif