[w3c/ServiceWorker] Please default fetch() init credentials to 'same-origin' (#1234)

Calling `fetch()` while using web authentication makes `fetch()` request fail with a 401 Unauthorized error. People similar to me that are used to the typical web APIs will expect `fetch()` to use `'same-origin'` instead of the current `'omit'` default. This `'omit'` default seems very odd and unnatural to me next to the other web APIs. As it stands anyone using web authentication will be rejected when using the default `fetch()`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1234

Received on Sunday, 26 November 2017 01:34:02 UTC