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

Unable delete specific cookie(s) #93

Open
vanowm opened this issue Jul 4, 2016 · 3 comments
Open

Unable delete specific cookie(s) #93

vanowm opened this issue Jul 4, 2016 · 3 comments

Comments

@vanowm
Copy link
Owner

vanowm commented Jul 4, 2016

I'm getting duplicate cookies such as .google.com NID
Turned out the only difference between them is originAttributes data:

host (string): .google.com
name (string): NID
path (string): /
originAttributes (object): [object Object]
{
    addonId (string): 
    appId (number): 0
    inIsolatedMozBrowser (boolean): false
    privateBrowsingId (number): 0
    signedPkg (string): 
    userContextId (number): 0
}
host (string): .google.com
name (string): NID
path (string): /
originAttributes (object): [object Object]
{
    addonId (string): 
    appId (number): 4294967294
    inIsolatedMozBrowser (boolean): false
    privateBrowsingId (number): 0
    signedPkg (string): 
    userContextId (number): 0
}

appId 4294967294 reference to SafeBrowsing

This issue is not related to CM+ itself, but rather to nsICookiesManager interface. You can see it by attempting delete such cookie via built-in cookies manager, it will incorrectly show that cookie was successfully deleted, but after relaunch the cookie manager it will show that cookie again.
In my tests I could delete this cookie right after browser restart, but after a while this cookie created again it can't be deleted again. Also to note, on dev profile in FF50 I could not reproduce this issue, the cookie can be deleted just fine, so it's either they fixed it, or it's related to other installed extensions/plugins or something else.

@vanowm vanowm added the Bug label Jul 4, 2016
@mdziczkowski
Copy link

don't worry... it's a common issue that the cookies from .google and google can't become deleted or get recreated after the deletion. It seem that there is need to look closer to the code responsible for the deletion, because it's not only one issue releated to it

@vanowm
Copy link
Owner Author

vanowm commented Jul 6, 2016

What's baffles me, is that in my tests the cookie still accessible via nsICookiesManager, however it's not present anymore in cookies.sqlite database.

@Atavic
Copy link

Atavic commented Sep 28, 2016

Listed as a bug here.

Some kind of error occurred, as:
appId (number): 0
seems invalid.

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

No branches or pull requests

3 participants