Closed Bug 1607615 Opened 4 years ago Closed 4 years ago

Allow CORS preflights with a default of 5 seconds for expiry if Access-Control-Max-Age hasn't been sent

Categories

(Core :: Networking: HTTP, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

(Whiteboard: [necko-triaged], [wptsync upstream])

Attachments

(1 file)

This is done for web compatibility reasons. Both WebKit and Blink pass the wpt test that I'm fixing with this patch, but we fail in that test because the CORS preflight triggered in it doesn't get cached as it is missing an Access-Control-Max-Age header.

Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd769fb3a217
Allow CORS preflights with a default of 5 seconds for expiry if Access-Control-Max-Age hasn't been sent; r=mayhemer
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21170 for changes under testing/web-platform/tests
Whiteboard: [necko-triaged] → [necko-triaged], [wptsync upstream]
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: