New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust XHR CORS test to allow custom Content-Type #4801
Conversation
Notifying @Manishearth, @Ms2ger, @caitp, @emilio, @hallvors, @ibelem, @jdm, @jungkees, @kangxu, @mathiasbynens, and @ronkorving. (Learn how reviewing works.) These tests will be available shortly on w3c-test.org. |
Chrome (unstable channel)Testing web-platform-tests at revision b18cb2f All results/XMLHttpRequest/timeout-cors-async.htm
/XMLHttpRequest/event-upload-progress-crossorigin.htm
/XMLHttpRequest/send-redirect-to-cors.htm
|
Firefox (nightly channel)Testing web-platform-tests at revision b18cb2f All results/XMLHttpRequest/timeout-cors-async.htm
/XMLHttpRequest/event-upload-progress-crossorigin.htm
/XMLHttpRequest/send-redirect-to-cors.htm
|
Can you explain what you are making this change for? Hard to tell without corresponding test. |
See https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/send-redirect-to-cors.htm#L53 As far as I can see, those tests are failing in Blink and WebKit due to the |
I think what we should do instead is invert the pass condition there and file a bug against Gecko as Gecko violates CORS there. |
Because https://fetch.spec.whatwg.org/#cors-preflight-fetch-0 step 6.9 only allows it to be omitted if its safelisted, which that particular value is not. |
Closing this in favor of my PR to solve this issue, which ends up highlighting the problem in Firefox. Two tests still fail in WebKit but that seems like a bug. |
No description provided.