FirefoxCookiesManagerPlus icon indicating copy to clipboard operation
FirefoxCookiesManagerPlus copied to clipboard

Unable delete specific cookie(s)

Open vanowm opened this issue 8 years ago • 3 comments

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 avatar Jul 04 '16 15:07 vanowm

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

mdziczkowski avatar Jul 06 '16 15:07 mdziczkowski

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.

vanowm avatar Jul 06 '16 15:07 vanowm

Listed as a bug here.

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

Atavic avatar Sep 28 '16 20:09 Atavic