Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 # nsDOMIdentity.js
2 component {210853d9-2c97-4669-9761-b1ab9cbf57ef} nsDOMIdentity.js
3 contract @mozilla.org/dom/identity;1 {210853d9-2c97-4669-9761-b1ab9cbf57ef}
4 category JavaScript-navigator-property mozId @mozilla.org/dom/identity;1
6 # nsIDService.js (initialization on startup)
7 component {4e0a0e98-b1d3-4745-a1eb-f815199dd06b} nsIDService.js
8 contract @mozilla.org/dom/identity/service;1 {4e0a0e98-b1d3-4745-a1eb-f815199dd06b}
9 category app-startup IDService @mozilla.org/dom/identity/service;1