-
Notifications
You must be signed in to change notification settings - Fork 360
Make fetch() use "same-origin" credentials by default #585
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
Conversation
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.
Even though I have followed the |
I agree that this is a more reasonable default, but also much concerned with possible break of existing apps, though your guess at whatwg/html#2557 (comment) sounds correct. |
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.
Preview | Diff