Title: [220864] trunk/Tools
- Revision
- 220864
- Author
- [email protected]
- Date
- 2017-08-17 11:21:27 -0700 (Thu, 17 Aug 2017)
Log Message
Recursively create resource load statistics folder for testing
https://bugs.webkit.org/show_bug.cgi?id=175676
Reviewed by Brady Eidson.
* WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::TestController::cocoaPlatformInitialize): Recursively create resourceLoadStatisticsFolder.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (220863 => 220864)
--- trunk/Tools/ChangeLog 2017-08-17 18:07:26 UTC (rev 220863)
+++ trunk/Tools/ChangeLog 2017-08-17 18:21:27 UTC (rev 220864)
@@ -1,3 +1,13 @@
+2017-08-17 Jonathan Bedard <[email protected]>
+
+ Recursively create resource load statistics folder for testing
+ https://bugs.webkit.org/show_bug.cgi?id=175676
+
+ Reviewed by Brady Eidson.
+
+ * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
+ (WTR::TestController::cocoaPlatformInitialize): Recursively create resourceLoadStatisticsFolder.
+
2017-08-17 Carlos Garcia Campos <[email protected]>
[GTK][WPE] Add NTLM authentication enabled API
Modified: trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm (220863 => 220864)
--- trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm 2017-08-17 18:07:26 UTC (rev 220863)
+++ trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm 2017-08-17 18:21:27 UTC (rev 220864)
@@ -100,7 +100,7 @@
return;
String resourceLoadStatisticsFolder = String(dumpRenderTreeTemp) + '/' + "ResourceLoadStatistics";
- [[NSFileManager defaultManager] createDirectoryAtPath:resourceLoadStatisticsFolder withIntermediateDirectories:NO attributes:nil error: nil];
+ [[NSFileManager defaultManager] createDirectoryAtPath:resourceLoadStatisticsFolder withIntermediateDirectories:YES attributes:nil error: nil];
String fullBrowsingSessionResourceLog = resourceLoadStatisticsFolder + '/' + "full_browsing_session_resourceLog.plist";
NSDictionary *resourceLogPlist = [[NSDictionary alloc] initWithObjectsAndKeys: [NSNumber numberWithInt:1], @"version", nil];
if (![resourceLogPlist writeToFile:fullBrowsingSessionResourceLog atomically:YES])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes