Closed Bug 1659742 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25067 - [CORS] Set preflight request mode correctly

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:

[CORS] Set preflight request mode correctly

CORS preflight request mode was set to kNoCors up until now, and with
cross-origin-embedder-policy: require-corp CORS preflights fail unless
a CORP header is attached. Fix the bug.

Bug: 1116990
Change-Id: Id91c8d92a17c701bacb2289c2f5a23561f3e7538

Reviewed-on: https://chromium-review.googlesource.com/2362065
WPT-Export-Revision: 5ebee039c96404daf056585f6ece33aecbe0aba5

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 4 tests and 13 subtests

Status Summary

Firefox

OK : 4
PASS: 52

Chrome

OK : 4
PASS: 52

Safari

OK : 4
PASS: 47
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c7cfac212d9 [wpt PR 25067] - [CORS] Set preflight request mode correctly, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.