Title: [281697] trunk/Tools
- Revision
- 281697
- Author
- [email protected]
- Date
- 2021-08-27 09:30:45 -0700 (Fri, 27 Aug 2021)
Log Message
PrivateClickMeasurementManager::firePendingAttributionRequests() is crashing in debug
https://bugs.webkit.org/show_bug.cgi?id=229551
Reviewed by John Wilander.
We pre-fill the PCM database with data for this test but don't clear
it once the test is over. This causes crashes in other tests.
* TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
(TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (281696 => 281697)
--- trunk/Tools/ChangeLog 2021-08-27 16:28:52 UTC (rev 281696)
+++ trunk/Tools/ChangeLog 2021-08-27 16:30:45 UTC (rev 281697)
@@ -1,3 +1,16 @@
+2021-08-27 Kate Cheney <[email protected]>
+
+ PrivateClickMeasurementManager::firePendingAttributionRequests() is crashing in debug
+ https://bugs.webkit.org/show_bug.cgi?id=229551
+
+ Reviewed by John Wilander.
+
+ We pre-fill the PCM database with data for this test but don't clear
+ it once the test is over. This causes crashes in other tests.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
+ (TEST):
+
2021-08-27 Jonathan Bedard <[email protected]>
[git-webkit] Add pull-request command (Part 6)
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm (281696 => 281697)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm 2021-08-27 16:28:52 UTC (rev 281696)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm 2021-08-27 16:30:45 UTC (rev 281697)
@@ -1460,4 +1460,7 @@
}];
TestWebKitAPI::Util::run(&doneFlag);
+
+ // Clear pre-filled database.
+ [defaultFileManager removeItemAtPath:itpRootURL.path error:nil];
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes