[whatwg/fetch] Make fetch() use "same-origin" credentials by default (#585)

Most features in the platform have this default and not having this default causes multiple connections in contemporary implementations. It also causes confusion as switching from XMLHttpRequest to fetch() is not as seamless as it could be.

Making this change will also make it easier for <script type=module> to have this default as per discussion in https://github.com/whatwg/html/issues/2557.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/585

-- Commit Summary --

  * Make fetch() use "same-origin" credentials by default

-- File Changes --

    M fetch.bs (2)

-- Patch Links --

https://github.com/whatwg/fetch/pull/585.patch
https://github.com/whatwg/fetch/pull/585.diff

-- 
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/pull/585

Received on Friday, 25 August 2017 08:06:36 UTC