mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
Automatic update from web-platform-tests wpt: Fix dedicated-worker-options-credentials.html Before this CL credentials.py tried to get "Origin" header value unconditionally and resulted in an internal server error. This CL changes credentials.py so that it sets "Access-Control-Allow-Origin" only when "Origin" header is supplied. Bug: 952266 Change-Id: I804d538cc24c2fb51d0c156400425e056d51fb7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1575300 Commit-Queue: Kenichi Ishibashi <[email protected]> Commit-Queue: Matt Falkenhagen <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#652478} -- wpt-commits: 652109f0cb1bb8dcdd77ab0f66eb68b6a5e14829 wpt-pr: 16416