[wpt-sync] Sync PR 62651 - Fetch: redirects after a CORS-preflight are followed
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62651 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62651
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
Fetch: redirects after a CORS-preflight are followed
Fetch removed the redirect mode "error" override for preflighted requests in whatwg/fetch#204, so a redirect after a successful CORS-preflight is followed and the new URL gets its own preflight. Redirecting the preflight itself is still a network error.
All three engines already implement this and carry failure expectations for the "after preflight failed" subtests.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ee1b76fbfe974d047e627aff5469540f73497555
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 51 tests and 1 subtests
Status Summary
Firefox
OK : 4[GitHub] 49[Gecko-windows11-32-25h2-debug] 51[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 40[GitHub] 763[Gecko-windows11-32-25h2-debug] 781[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4
Chrome
OK : 4
PASS: 40
Safari
OK : 4
PASS: 40
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /fetch/api/cors/cors-multiple-origins.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /fetch/api/cors/cors-preflight-cache.any.html [wpt.fyi]
- CORS preflight cache does not reuse wildcard header entries for Authorization:
FAIL
- CORS preflight cache does not reuse wildcard header entries for Authorization:
- /fetch/api/cors/cors-preflight-cache.any.worker.html [wpt.fyi]
- CORS preflight cache does not reuse wildcard header entries for Authorization:
FAIL
- CORS preflight cache does not reuse wildcard header entries for Authorization:
- /fetch/api/cors/cors-preflight-referrer.any.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /fetch/api/cors/cors-preflight.any.html [wpt.fyi]
- "authorization" should not be covered by the wildcard symbol:
FAIL
- "authorization" should not be covered by the wildcard symbol:
- /fetch/api/cors/cors-preflight.any.worker.html [wpt.fyi]
- "authorization" should not be covered by the wildcard symbol:
FAIL
- "authorization" should not be covered by the wildcard symbol:
Tests Disabled in Gecko Infrastructure
- /fetch/api/cors/cors-multiple-origins.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /fetch/api/cors/cors-preflight-referrer.any.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug]
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•