Page MenuHomePhabricator

Hundreds of PostEditRevision cookies accumulated, one per edit
Closed, DeclinedPublic

Description

Firefox 30.0 cookie view

Very unimpressive.


Version: 1.24rc
Severity: normal

Attached:

PostEditCookie.png (645×1 px, 95 KB)

Details

Reference
bz67790

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:34 AM
bzimport set Reference to bz67790.
bzimport added a subscriber: Unknown Object (MLST).

"Cookie Time deleted 1601 [expired] cookies". Maybe the post-edit popup could contain a link to this very useful extension. :-D https://addons.mozilla.org/en-US/firefox/addon/cookie-time/

Hmm. I have exactly two such cookies for mediawiki.org in Firefox 30.0 (and cookies allowed for mediawiki.org). Wondering which settings are different.

(In reply to Andre Klapper from comment #2)

Wondering which settings are different.

Maybe you don't hide the postedit banner in your personal CSS?

matmarex claimed this task.
matmarex subscribed.

The lifetime of these cookies is controlled by EditPage::POST_EDIT_COOKIE_DURATION, which is currently set to 1200 seconds (20 minutes). If they persist for longer than that, you must have misconfigured your browser or your system clock.

(They are also cleared by the JS code to show the popup, but that won't run if you disable JS or adblock it or something.)

matmarex changed the task status from Declined to Invalid.Oct 27 2015, 10:12 PM

The lifetime of these cookies is controlled by EditPage::POST_EDIT_COOKIE_DURATION, which is currently set to 1200 seconds (20 minutes). If they persist for longer than that, you must have misconfigured your browser or your system clock.

What makes you think so? Information I see around seems to state the opposite, i.e. that keeping them is normal on Firefox and Chromium: https://support.mozilla.org/it/questions/983361 / https://code.google.com/p/chromium/issues/detail?id=128513 + http://stackoverflow.com/a/10772420 / https://code.google.com/p/chromium/issues/detail?id=128513 .

The Chromium links you provided are about session cookies (which are set to expire "when the browsing session ends"), not the regular cookies which are set to expire at given time, like the cookies we're discussing here.

I was not aware of the Firefox behavior, but there's nothing we can do to force it to remove them. As long as it doesn't send expired cookies with requests (which it doesn't, according to that link), everything is fine.

Nemo_bis changed the task status from Invalid to Declined.Oct 31 2015, 8:51 AM

Ok, so this is valid bug for Firefox.