Re: [whatwg/fetch] Have CORP check rely on request's response tainting rather than request's mode (#985)

Given the check the only caller does today is

> If httpRequest’s response tainting is not "cors"

per https://fetch.spec.whatwg.org/#ref-for-cross-origin-resource-policy-check perhaps that initial step

> If request’s mode is not "no-cors", then return allowed.

is even redundant?

I think we should investigate how this should change together with the change to enforce this for a service worker response.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/985#issuecomment-567927873

Received on Friday, 20 December 2019 13:41:00 UTC