Skip to content
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

Cookies and Fetch #1430

Closed
annevk opened this issue Mar 10, 2021 · 1 comment
Closed

Cookies and Fetch #1430

annevk opened this issue Mar 10, 2021 · 1 comment

Comments

@annevk
Copy link

annevk commented Mar 10, 2021

As discussed in #1428 I thought I'd try to note down what Fetch needs:

Neither is super precise, especially when it comes to the various cookie policies implementations have, the cookie store, and any potential partitioning of that cookie store.

Furthermore, with SameSite I feel like we have a layering violation where the cookie specification makes determinations about cookies that it really needs additional input from Fetch from (i.e., more than a URL). I think it's understandable how that became to be that way, but I think eventually it would be better if that was better abstracted and "site for cookies" and such are instead inputs from Fetch. (Either calculated in fetch before it does things on a thread where that information is no longer accessible or even before fetch is invoked as not all invocations happen from the "main thread".)

None of this seems particularly pressing to me, but I think we should get to it eventually.

(See also whatwg/fetch#693.)

@annevk
Copy link
Author

annevk commented Apr 29, 2022

Let's fold this into #2084.

@annevk annevk closed this as completed Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants