Bug 306643
| Summary: | TestWebKitAPI.ResourceLoadStatistics.EnableResourceLoadStatisticsAfterNetworkProcessCreation test fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Website Storage | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
<rdar://169300958>
Pouneh
Pull request: https://github.com/WebKit/WebKit/pull/63466
EWS
Committed 312128@main (d2ad35535d74): <https://commits.webkit.org/312128@main>
Reviewed commits have been landed. Closing PR #63466 and removing active labels.