Bug 230353 - Regression (r282484): [ Catalina ] 2 imported/w3c/web-platform-tests/content-security-policy/ tests are failing
Summary: Regression (r282484): [ Catalina ] 2 imported/w3c/web-platform-tests/content-...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-16 09:20 PDT by ayumi_kojima
Modified: 2021-09-16 20:12 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.00 KB, patch)
2021-09-16 11:49 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 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
Comment 1 Radar WebKit Bug Importer 2021-09-16 09:22:54 PDT
<rdar://problem/83200068>
Comment 2 Alex Christensen 2021-09-16 11:49:19 PDT
Created attachment 438377 [details]
Patch
Comment 3 EWS 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].
Comment 4 Alex Christensen 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