Giter VIP home page Giter VIP logo

Comments (12)

hsivonen avatar hsivonen commented on August 23, 2024

CC @jdm based on the Gecko module owner page.

from standards-positions.

hsivonen avatar hsivonen commented on August 23, 2024

Not being an expert in this area of the engine, the general idea of having an event instead of polling seems reasonable, but ChangeCause exposure in the API may be a problem in terms of allowing sites to detect more privacy-oriented browser configurations and discriminating against users who've chosen such configurations.

from standards-positions.

hsivonen avatar hsivonen commented on August 23, 2024

CC @tefn3849

from standards-positions.

jdm avatar jdm commented on August 23, 2024

From an email exchange with Overholt about this:

I'm not sure if the network team will have an opinion here, since this doesn't actually affect how 
cookies are processed by the network stack. My initial reaction is that we're not actually interested in 
making cookies easier to use (and certainly that's the IETF's position in regards to proposals to add 
new features to the cookie parsing and storage specifications), but I feel like people on the DOM team 
are in a better position to make that call. Figuring out how much use document.cookies sees would 
help guide that decision.

from standards-positions.

overholt avatar overholt commented on August 23, 2024

I forgot that @asutherland may have an informed opinion here.

from standards-positions.

annevk avatar annevk commented on August 23, 2024

I would be more comfortable if we worked through whatwg/html#804 first before exposing the underlying issues in more ways.

(There's also some inherent issues with cookies: eTLD+1 (though this is also why they continue to be popular); HttpOnly flag creating all kinds of trouble for JavaScript APIs).

from standards-positions.

asutherland avatar asutherland commented on August 23, 2024

From an implementation flexibility perspective, implementing this seems undesirable. Specifically, https://github.com/patrickkettner/cookie-change-events/ proposes an unfiltered DOM event, whereas the similar-but-different[1] https://github.com/WICG/cookie-store/ allows for specifying specific interests. Based on discussion with jdm, we currently do broadcast all cookie changes, so we could implement this as proposed, but it would limit future optimizations.

A perhaps stronger argument for not implementing cookie-change-event is to allow the async cookie-store API to have a carrot. When switching to its observer mechanism, developers might hopefully switch to using its async API at the same time.

1: patrickkettner/cookie-change-events#14 includes some discussion of the differences between the proposals.

from standards-positions.

hsivonen avatar hsivonen commented on August 23, 2024

My reading of the comments is that our position is negative. @dbaron, how do we proceed from here? Do you make a call for the position?

from standards-positions.

annevk avatar annevk commented on August 23, 2024

I strongly suspect this is abandonware at this point.

from standards-positions.

marcoscaceres avatar marcoscaceres commented on August 23, 2024

Dropping WICG label, as this was never adopted by the WICG either.

from standards-positions.

marcoscaceres avatar marcoscaceres commented on August 23, 2024

@patrickkettner, you are no longer pursuing this, right?

from standards-positions.

patrickkettner avatar patrickkettner commented on August 23, 2024

from standards-positions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.