Trying to tune my privacy on Firefox. I want to be able to read my gmail, cookies should be accepted in general but only Gmail related cookies should be kept.

From the settings below you can clearly see that behavior set. After restarting Firefox I can see that there are still cookies from `google.com`.
Isn't what the option **Keep until I close Firefox** should do?

Clean profile, no addons. These are my settings:

[![enter image description here](https://i.stack.imgur.com/shkZV.png)](https://i.stack.imgur.com/shkZV.png)

And the Exceptions:

[![enter image description here](https://i.stack.imgur.com/w1I3h.png)](https://i.stack.imgur.com/w1I3h.png)

And in `about:config`

[![enter image description here](https://i.stack.imgur.com/bm5su.png)](https://i.stack.imgur.com/bm5su.png)

This is it, clean install, no addons.

Remarks:

* I don't want to dissalow cookies from google.com as this breaks gmail. But I want all `google.com` cookies that aren't in the `accounts` and `mail` subdomains to be deleted when I close firefox.
* I am aware of `CookieSafe` and other plugins, but since firefox implies that does what I want there is no reason to bloat my profile. If its a bug it should be reported.
* Other browsers, addons, hosts file, proxies and extraterrestrial technology aren't an option.