gecko-dev/netwerk/cookie/test
Josh Matthews 3b4eeee788 Bug 1264192 - Adjust cookie eviction heuristics when exceeding the maximum cookies allowed per host. r=ehsan
If no expired cookies exist, in order of preference, evict the oldest:
* session cookie with a non-matching path
* session cookie with a matching path
* non-session cookie with a non-matching path
* non-session cookie with a matching path

This replaces the previous heuristic of evicting the oldest cookie, irregardless of any other attributes,
if no expired cookies were present. This ensures that cookies that are already considered transient by
web applications will be removed first, followed by cookies that are unrelated to the response that is
adding new cookies.
* * *
Bug 1264192 - Interdiff
2016-09-09 16:29:15 -04:00
..
browser Bug 1214071 - Tests for Get/RemoveCookiesWithOriginAttributes() r=ehsan 2016-05-12 10:12:47 +08:00
unit Bug 1264192 - Adjust cookie eviction heuristics when exceeding the maximum cookies allowed per host. r=ehsan 2016-09-09 16:29:15 -04:00
unit_ipc Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps 2016-04-04 14:56:52 -07:00