Skip to content

Conversation

Chanran
Copy link
Contributor

@Chanran Chanran commented Sep 15, 2025

As mentioned in #11658, synchronous document.cookie API calls are a major source of jank, and the asynchronous CookieStore API can be used as a replacement. Therefore, document.cookie should be removed from the WHATWG HTML Specification to prevent its widespread use in web pages.


/browsers.html ( diff )
/dom.html ( diff )

@myakura
Copy link

myakura commented Sep 15, 2025

removing it from the spec right away doesn't sound a good first step of deprecating features to me. I see it's a major source of jank, but it's still implemented across browsers and implementations need a spec to refer to.

@Chanran
Copy link
Contributor Author

Chanran commented Sep 15, 2025

Okay, I see. I will try to create issues to Chromium, Gecko and Webkit to suggest mark this synchronous document.cookie api as deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants