imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html is a flaky crash on iOS and a constant failure on macOS. HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Freporting-api%2Freporting-api-works-on-frame-ancestors.https.sub.html I was able to replicate this failure on both iOS and Ventura ToT as follows: run-webkit-tests imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html No crash log was available on the results or locally.
<rdar://problem/105151147>
It appears this test has been failing since it was resynced at 239597@main.
Pull request: https://github.com/WebKit/WebKit/pull/9785
Test gardening commit 259986@main (82da0aa13ec0): <https://commits.webkit.org/259986@main> Reviewed commits have been landed. Closing PR #9785 and removing active labels.
The crashes were resolved with https://commits.webkit.org/259993@main, but the test is still consistently failing with the following diff: --- /Volumes/Data/worker/Apple-Ventura-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub-expected.txt +++ /Volumes/Data/worker/Apple-Ventura-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub-actual.txt @@ -1,5 +1,6 @@ +CONSOLE MESSAGE: Refused to load https://127.0.0.1:9443/content-security-policy/reporting-api/support/non-embeddable-frame.html?id=67c557ff-c132-4209-8ba7-e2a97031fd85 because it does not appear in the frame-ancestors directive of the Content Security Policy. FAIL Violation report status OK. undefined is not an object (evaluating 'data[0]["body"]') -PASS No report to parent. +FAIL No report to parent. assert_equals: CSP report sent, but not expecting one. expected 0 but got 1
updating test expectations
Test gardening commit 260980@main (477276fdc47a): <https://commits.webkit.org/260980@main> Reviewed commits have been landed. Closing PR #10842 and removing active labels.