-
Notifications
You must be signed in to change notification settings - Fork 31
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
Update from non-Chrome browsers on support stance #66
Comments
I sense that you want an agenda+ here? :) |
Also probably worth tagging @johnwilander and @annevk. FWIW, WebKit/standards-positions#50 hasn't seen a lot of movement. |
Anne replied in the WebKit standards positions repo. As a result, I'm removing the agenda+ label. |
I've been watching both chips and the stance from webkit for a while now, and FWICT, it doesn't seem like chips will be coming to safari any time soon. Right now... webkit is commenting with "not a priority" and the need is "unclear". To me, that feels like a more political way of saying no. Perhaps suggesting some steps devs can take to help advocate for it at webkit would move things along? |
@cmawhorter The Webkit team asked the developer community on this thread to share why partitioned storage isn't good enough, and why partitioned cookies may be preferred instead. Sharing your use cases on that thread is a good way to advocate for CHIPS support in Webkit. |
thanks for the suggestion. that thread was getting long and i was concerned about doing more harm than good by adding more there. also- i feel like you guys have done a pretty good job of laying out the use cases, so i donno 🤷 |
@cmawhorter I can't speak for the WebKit team but in my experience factually describing your use case (similar to how others did in that thread) is very helpful to help browser teams assess whether an API is worth supporting, so I would still encourage you to do that. The harm from "pile-ons" usually comes from uninformative +1 comments, accusations or abuse. If we can avoid that then I think it's always useful to get a sense of the number of developers and use cases impacted. |
Quick comment from Apple WebKit: Johann is right. From our perspective, more cookies increase memory use and slow down network loads. That’s known and users want performant browsers and a performant web. So we want to hear about legitimate use cases for partitioned cookies. |
Sharing this here since I think its a better place.
|
Concurring with the above comment, but I'd just like to add: for a site which uses http cookies for login sessions ID, Safari's current behavior is going to hurt their market share. We can get the iframes working with low level effort by adding the Partitioned directive for Chromium browsers (no problem for us at all because we don't even want to share cookies between eTLDs anyways), and by doing nothing for Firefox which just works. But for Safari we'd be expected... to do what exactly?
I think it is easy to guess which most developers will end up doing out of those options. The very least Safari could do is make the |
John here again from Apple WebKit. There seems to be a lot of speculation or assumption on what we will do. We are not opposed to CHIPS. But as a browser that’s never accepted pure cross-site cookies (20+ years), this is a big change in terms of number of cookies. Frankly, we’re surprised that few others seem to share our worry about a massive increase in the number of cookies in any one browser instance. |
How is any concern about memory/storage use unique to partitioned cookies compared to partitioned LocalStorage/IndexedDB which Safari already offers? Browsers don't have to keep cookies in memory either. Of course, if they don't, sites would slow down. As far as I can tell, if JavaScript is using LocalStorage for pseudo-cookies then the relevant key-values from that storage medium will need to be kept in memory the same way cookies would be, except they will be in JS memory (which is probably less efficient than the native browser memory). The key-value pairs will still need to be attached to requests that require them much the same way as cookies. The only difference I understand from Apple's point is that cookies are auto-sent with every same-origin request whereas the LocalStorage pseudo cookies aren't. To that point:
These two kinds of cookies' sizes are generally not large so they'd probably fit even into the tiny 1KiB limit that was proposed in other threads. Safari could also add a hidden option somewhere to raise the limit to chrome's. |
The main difference is that we'd go from 0 to ? for partitioned cookies in terms of network storage. But there are also some different tradeoffs as you mention, such as inflating the request size, or more low-level most browser networking happening in a single process. And that process is very different from where |
Adding an issue to perhaps get this discussed in a meeting if an online discussion is not enough. We are specifically interested in Safari / iPhone webkit support. While we have been partnering closely with Google and following this proposal, as with many proposals, the value is often significantly degraded if it is only partially adopted. Firefox already supports partitioning without opt-in as defined in this spec so they are not as worrying. What is the stance from Apple?
The text was updated successfully, but these errors were encountered: