Bug 251889
| Summary: | [ iOS , macOS ] imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html is a constant failure. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bri Harris <bharris9> |
| Component: | New Bugs | Assignee: | Bri Harris <bharris9> |
| Status: | NEW | ||
| Severity: | Normal | CC: | rackler, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=271377 | ||
Bri Harris
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105151147>
Bri Harris
It appears this test has been failing since it was resynced at 239597@main.
Bri Harris
Pull request: https://github.com/WebKit/WebKit/pull/9785
EWS
Test gardening commit 259986@main (82da0aa13ec0): <https://commits.webkit.org/259986@main>
Reviewed commits have been landed. Closing PR #9785 and removing active labels.
Ryan Haddad
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
Karl Rackler
updating test expectations
EWS
Test gardening commit 260980@main (477276fdc47a): <https://commits.webkit.org/260980@main>
Reviewed commits have been landed. Closing PR #10842 and removing active labels.