Git Product home page Git Product logo

Comments (5)

alessandro-fazzi avatar alessandro-fazzi commented on July 28, 2024

But...are you disabling cookies in browser's settings?

from cookies.

divsbhalala avatar divsbhalala commented on July 28, 2024

yes i have disable all cookie in EDGE browser.
I have EDGE browser v11.0

from cookies.

ScottHamper avatar ScottHamper commented on July 28, 2024

Hey @divsbhalala ,

I don't have Windows 10 at home, so I haven't been able to spend much time on Edge to investigate this issue.

However, I did a quick test at work today and ran into the same result as you. I loaded the Cookies.js unit test HTML page in Edge, and then blocked all cookies in Edge's settings menu. After restarting Edge, refreshing the page, and even clearing cache/cookies, the unit tests page still loads up with all tests passing (though it should be failing at this point, because I've disabled cookies!)

This seems really crazy to me. I'm not sure what's going on, but ultimately this doesn't appear to be an issue with Cookies.js itself - Edge appears to be legitimately still allowing cookies, despite the setting to block them. Cookies.js isn't doing anything fancy to subvert the browser (it's just a friendly wrapper around the native document.cookies JS API).

Either we're both doing something wrong, or Edge is. I think we'll need further investigation to determine which one it is.

from cookies.

ScottHamper avatar ScottHamper commented on July 28, 2024

Hey @divsbhalala ,

When you ran into this issue, were you navigating to a page running on localhost?

I've discovered that Edge appears to properly block cookies for all sites other than localhost. I can even browse to 127.1.1.1 and cookies will be blocked. For whatever reason, it's just localhost that's an exception. I haven't found any documentation regarding this "feature", but there you have it.

Wtf, Microsoft?

from cookies.

ScottHamper avatar ScottHamper commented on July 28, 2024

Closing due to inactivity, and because this seems like an issue with how Microsoft Edge handles cookies (not an issue with Cookies.js specifically).

from cookies.

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.