Bug 243733 - [ Mac wk1 ] Many recently imported mixed-content WPT tests are failing on Mac wk1
Summary: [ Mac wk1 ] Many recently imported mixed-content WPT tests are failing on Mac...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-09 09:36 PDT by Robert Jenner
Modified: 2022-08-31 11:02 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2022-08-09 09:36:57 PDT
39 tests that were added at 253229@main are constant text failures on Mac wk1. Since putting 39 tests into one history link will likely have loading issues I'm adding just one of these tests in the following history link. However, I have confirmed that all 39 started failing constantly after being introduced.

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fsharedworker-classic-data.http-rp%2Fopt-in%2Ffetch.https.html

These are the 39 tests I've found that are failing so far:
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.http-rp/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.http-rp/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.http-rp/opt-in/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/opt-in/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/unset/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/unset/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic-data.meta/unset/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic.http-rp/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic.http-rp/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic.http-rp/unset/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic.http-rp/unset/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-classic.http-rp/unset/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.http-rp/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.http-rp/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.http-rp/opt-in/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/opt-in/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/unset/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/unset/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module-data.meta/unset/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module.http-rp/opt-in/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module.http-rp/opt-in/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module.http-rp/unset/fetch.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module.http-rp/unset/websocket.https.html
imported/w3c/web-platform-tests/mixed-content/gen/sharedworker-module.http-rp/unset/xhr.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.http-rp/opt-in/sharedworker-classic.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.http-rp/opt-in/sharedworker-import-data.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.http-rp/opt-in/sharedworker-module.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/opt-in/sharedworker-classic.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/opt-in/sharedworker-import-data.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/opt-in/sharedworker-import.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/opt-in/sharedworker-module.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/unset/sharedworker-classic.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/unset/sharedworker-import-data.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/unset/sharedworker-import.https.html
imported/w3c/web-platform-tests/mixed-content/gen/top.meta/unset/sharedworker-module.https.html

HISTORY:
Comment 1 Robert Jenner 2022-08-09 09:53:12 PDT
All of these tests appear to have the following two lines in common in all of their diffs:


TEXT DIFFS:
PASS Mixed-Content: Expects allowed for xhr to same-https origin and keep-scheme redirection from https context.

FAIL Mixed-Content: Expects blocked for xhr to same-https origin and swap-scheme redirection from https context. assert_equals: The resource request should be 'blocked'. expected "blocked" but got "allowed"

Here is a link to the page with all of the failures observed:

https://build.webkit.org/results/Apple-Monterey-Release-WK1-Tests/253260@main%20(4804)/results.html
Comment 2 Radar WebKit Bug Importer 2022-08-09 09:54:44 PDT
<rdar://problem/98389628>
Comment 3 EWS 2022-08-09 10:51:39 PDT
Test gardening commit 253264@main (4e5bcdbc69ec): <https://commits.webkit.org/253264@main>

Reviewed commits have been landed. Closing PR #3155 and removing active labels.
Comment 4 Brent Fulgham 2022-08-30 13:02:35 PDT
A large number of these tests are failing because they use Shared Workers, which are not supported in WebKitLegacy.
Comment 5 Brent Fulgham 2022-08-30 14:28:59 PDT
Pull request: https://github.com/Webkit/WebKit/pull/3155
Comment 6 Brent Fulgham 2022-08-30 14:39:36 PDT
Pull request: https://github.com/Webkit/WebKit/pull/3825
Comment 7 EWS 2022-08-31 11:02:51 PDT
Committed 253997@main (102b793c8271): <https://commits.webkit.org/253997@main>

Reviewed commits have been landed. Closing PR #3825 and removing active labels.