Title: [285230] trunk/Tools
- Revision
- 285230
- Author
- [email protected]
- Date
- 2021-11-03 14:56:42 -0700 (Wed, 03 Nov 2021)
Log Message
[ iOS Debug ] TestWebKitAPI.ResourceLoadStatistics.GrandfatherCallback is failing
https://bugs.webkit.org/show_bug.cgi?id=232675
Patch by Alex Christensen <[email protected]> on 2021-11-03
Reviewed by Kate Cheney.
Clearing website data attempts a connection with the daemon.
For now, just tell it not to connect to the daemon.
* TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
(TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (285229 => 285230)
--- trunk/Tools/ChangeLog 2021-11-03 21:32:23 UTC (rev 285229)
+++ trunk/Tools/ChangeLog 2021-11-03 21:56:42 UTC (rev 285230)
@@ -1,3 +1,16 @@
+2021-11-03 Alex Christensen <[email protected]>
+
+ [ iOS Debug ] TestWebKitAPI.ResourceLoadStatistics.GrandfatherCallback is failing
+ https://bugs.webkit.org/show_bug.cgi?id=232675
+
+ Reviewed by Kate Cheney.
+
+ Clearing website data attempts a connection with the daemon.
+ For now, just tell it not to connect to the daemon.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
+ (TEST):
+
2021-11-03 Chris Dumez <[email protected]>
_pasteboardWithName should be thread-safe
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm (285229 => 285230)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm 2021-11-03 21:32:23 UTC (rev 285229)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm 2021-11-03 21:56:42 UTC (rev 285230)
@@ -83,7 +83,9 @@
TEST(ResourceLoadStatistics, GrandfatherCallback)
{
- auto *dataStore = [WKWebsiteDataStore defaultDataStore];
+ auto dataStoreConfiguration = adoptNS([_WKWebsiteDataStoreConfiguration new]);
+ dataStoreConfiguration.get().pcmMachServiceName = nil;
+ auto dataStore = adoptNS([[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration.get()]);
NSURL *statisticsDirectoryURL = [NSURL fileURLWithPath:[@"~/Library/WebKit/com.apple.WebKit.TestWebKitAPI/WebsiteData/ResourceLoadStatistics" stringByExpandingTildeInPath] isDirectory:YES];
NSURL *fileURL = [statisticsDirectoryURL URLByAppendingPathComponent:@"observations.db"];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes