Bug 306643

Summary: TestWebKitAPI.ResourceLoadStatistics.EnableResourceLoadStatisticsAfterNetworkProcessCreation test fails
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Website StorageAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Kilzer (:ddkilzer)
Reported 2026-01-30 12:59:24 PST
The TestWebKitAPI test `ResourceLoadStatistics.EnableResourceLoadStatisticsAfterNetworkProcessCreation` is failing with assertion errors. The test expects `[thirdPartyData count]` to equal 1, but it's returning 0. To reproduce: ``` Tools/Scripts/run-api-tests --release TestWebKitAPI.ResourceLoadStatistics.EnableResourceLoadStatisticsAfterNetworkProcessCreation ``` Test failure output: ``` Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:2075 Expected equality of these values: [thirdPartyData count] Which is: 0 1u Which is: 1 Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:2102 Expected equality of these values: [thirdPartyData count] Which is: 0 1u Which is: 1 ``` The test appears to be checking resource load statistics data collection, but the expected third-party data is not being recorded or retrieved properly.
Attachments
David Kilzer (:ddkilzer)
Comment 1 2026-01-30 13:13:04 PST
Pouneh
Comment 2 2026-04-23 14:37:48 PDT
EWS
Comment 3 2026-04-27 12:59:11 PDT
Committed 312128@main (d2ad35535d74): <https://commits.webkit.org/312128@main> Reviewed commits have been landed. Closing PR #63466 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.