Bug 230353

Summary: Regression (r282484): [ Catalina ] 2 imported/w3c/web-platform-tests/content-security-policy/ tests are failing
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, ggaren, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230293
Attachments:
Description Flags
Patch none

ayumi_kojima
Reported 2021-09-16 09:20:40 PDT
imported/w3c/web-platform-tests/content-security-policy/form-action/form-action-src-blocked.sub.html imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html Are failing on iOS and Catalina. History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fconnect-src%2Fconnect-src-eventsource-allowed.sub.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fform-action%2Fform-action-src-blocked.sub.html Diffs: imported/w3c/web-platform-tests/content-security-policy/form-action/form-action-src-blocked.sub.html Diff: --- /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/form-action/form-action-src-blocked.sub-expected.txt +++ /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/form-action/form-action-src-blocked.sub-actual.txt @@ -1,4 +1,3 @@ -CONSOLE MESSAGE: Refused to load http://localhost:8800/common/redirect.py?location=/content-security-policy/support/postmessage-fail.html because it does not appear in the form-action directive of the Content Security Policy. Tests that blocking form actions works correctly. imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html Diff: --- /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub-expected.txt +++ /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub-actual.txt @@ -1,4 +1,3 @@ -CONSOLE MESSAGE: Refused to connect to http://www1.localhost:8800/content-security-policy/connect-src/resources/simple-event-stream because it does not appear in the connect-src directive of the Content Security Policy. FAIL Expecting logs: ["allowed"] assert_unreached: unexpected log: blocked Reached unreachable code
Attachments
Patch (4.00 KB, patch)
2021-09-16 11:49 PDT, Alex Christensen
no flags
Radar WebKit Bug Importer
Comment 1 2021-09-16 09:22:54 PDT
Alex Christensen
Comment 2 2021-09-16 11:49:19 PDT
EWS
Comment 3 2021-09-16 16:01:34 PDT
Committed r282613 (241772@main): <https://commits.webkit.org/241772@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438377 [details].
Alex Christensen
Comment 4 2021-09-16 20:12:29 PDT
Comment on attachment 438377 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438377&action=review > LayoutTests/platform/mac/TestExpectations:1846 > +[ Catalina ] imported/w3c/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html [ Failure ] This was too optimistic. r282631
Note You need to log in before you can comment on or make changes to this bug.