Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make fetch() use "same-origin" credentials by default
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 whatwg/html#2557.
- Loading branch information