Closed Bug 1632233 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23176 - XHR: correct 303 redirect logic

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [necko-triaged][wptsync downstream])

Sync web-platform-tests PR 23176 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23176
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:

XHR: correct 303 redirect logic

And add a relevant case for it.

PR 23176 applied with additional changes from upstream: 79311e3ce537612a80c21afc0013ee074d1fc5c1
Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Whiteboard: [wptsync downstream] → [necko-triaged][wptsync downstream]

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 65 tests

Status Summary

Firefox

OK : 1
PASS: 19[GitHub] 83[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 4

Chrome

OK : 1
PASS: 19
FAIL: 4

Safari

OK : 1
PASS: 18
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/xhr/send-redirect-to-cors.htm
XMLHttpRequest: send() - Redirect to CORS-enabled resource (302 POST with string and explicit Content-Type): FAIL (Chrome: FAIL, Safari: FAIL)
XMLHttpRequest: send() - Redirect to CORS-enabled resource (301 POST with string and explicit Content-Type safelisted): FAIL (Chrome: FAIL, Safari: FAIL)
XMLHttpRequest: send() - Redirect to CORS-enabled resource (303 FOO with string and explicit Content-Type safelisted): FAIL (Chrome: FAIL, Safari: FAIL)
XMLHttpRequest: send() - Redirect to CORS-enabled resource (301 POST with string and explicit Content-Type): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba73d704edeb
[wpt PR 23176] - XHR: correct 303 redirect logic, a=testonly
https://hg.mozilla.org/integration/autoland/rev/6ae235fb8755
[wpt PR 23176] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/f2e59654d040
[wpt PR 23176] - XHR: correct 303 redirect logic, a=testonly
https://hg.mozilla.org/integration/autoland/rev/303dd0afc0e9
[wpt PR 23176] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.