Closed Bug 1577435 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 18739 - OOR-CORS: Make the CORS preflight have Accept: */*

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

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

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

Takashi Toyoshima <toyoshim@chromium.org> wrote:

OOR-CORS: Make the CORS preflight have Accept: /

The current spec does not require the CORS preflight request to
have an Accept header. But Firefox sends it, and Chrome sent it
until OOR-CORS is enabled.

https://github.com/whatwg/fetch/issues/922
Since there is no reason not to have the header, and no objections
at the spec proposal thread, we'll restore the Accept header to
the CORS preflight request.

Bug: 995740
Change-Id: I50854e65770df593c8bbcff7ee85404051a23f36
Reviewed-on: https://chromium-review.googlesource.com/1768503
WPT-Export-Revision: 504ab87d617befe7839a22993ccdd0582d0c5232

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][necko-triaged]
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/5895f8f04a97 [wpt PR 18739] - OOR-CORS: Make the CORS preflight have Accept: */*, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.