Title: [231603] trunk/Tools
- Revision
- 231603
- Author
- [email protected]
- Date
- 2018-05-09 15:35:38 -0700 (Wed, 09 May 2018)
Log Message
Update WebKit.WebsiteDataStoreCustomPaths after r231536
https://bugs.webkit.org/show_bug.cgi?id=185486
<rdar://problem/37214391>
Patch by Sihui Liu <[email protected]> on 2018-05-09
Reviewed by Chris Dumez.
Update WebKit.WebsiteDataStoreCustomPaths as _syncNetworkProcessCookies is async now.
* TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
(TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (231602 => 231603)
--- trunk/Tools/ChangeLog 2018-05-09 22:22:12 UTC (rev 231602)
+++ trunk/Tools/ChangeLog 2018-05-09 22:35:38 UTC (rev 231603)
@@ -1,3 +1,16 @@
+2018-05-09 Sihui Liu <[email protected]>
+
+ Update WebKit.WebsiteDataStoreCustomPaths after r231536
+ https://bugs.webkit.org/show_bug.cgi?id=185486
+ <rdar://problem/37214391>
+
+ Reviewed by Chris Dumez.
+
+ Update WebKit.WebsiteDataStoreCustomPaths as _syncNetworkProcessCookies is async now.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
+ (TEST):
+
2018-05-09 Leo Balter <[email protected]>
Test262-Runner: Improve the verbose output
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm (231602 => 231603)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm 2018-05-09 22:22:12 UTC (rev 231602)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm 2018-05-09 22:35:38 UTC (rev 231603)
@@ -143,6 +143,12 @@
EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:localStoragePath.path]);
#if PLATFORM(IOS) || (__MAC_OS_X_VERSION_MIN_REQUIRED < 101300)
+ int retryCount = 30;
+ while (retryCount--) {
+ if ([[NSFileManager defaultManager] fileExistsAtPath:cookieStorageFile.path])
+ break;
+ TestWebKitAPI::Util::sleep(0.1);
+ }
EXPECT_TRUE([[NSFileManager defaultManager] fileExistsAtPath:cookieStorageFile.path]);
// Note: The format of the cookie file on disk is proprietary and opaque, so this is fragile to future changes.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes