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.
michael@0 | 1 | { |
michael@0 | 2 | "id": "jid1-fZHqN9JfrDBa8A", |
michael@0 | 3 | "title": "Simple Prefs Test", |
michael@0 | 4 | "author": "Erik Vold", |
michael@0 | 5 | "preferences": [{ |
michael@0 | 6 | "name": "test", |
michael@0 | 7 | "type": "bool", |
michael@0 | 8 | "title": "tëst", |
michael@0 | 9 | "value": false |
michael@0 | 10 | }, |
michael@0 | 11 | { |
michael@0 | 12 | "name": "test2", |
michael@0 | 13 | "type": "string", |
michael@0 | 14 | "title": "tëst", |
michael@0 | 15 | "value": "ünicødé" |
michael@0 | 16 | }, |
michael@0 | 17 | { |
michael@0 | 18 | "name": "test3", |
michael@0 | 19 | "type": "menulist", |
michael@0 | 20 | "title": "\"><test", |
michael@0 | 21 | "value": "1", |
michael@0 | 22 | "options": [ |
michael@0 | 23 | { |
michael@0 | 24 | "value": "0", |
michael@0 | 25 | "label": "label1" |
michael@0 | 26 | }, |
michael@0 | 27 | { |
michael@0 | 28 | "value": "1", |
michael@0 | 29 | "label": "label2" |
michael@0 | 30 | } |
michael@0 | 31 | ] |
michael@0 | 32 | }, |
michael@0 | 33 | { |
michael@0 | 34 | "name": "test4", |
michael@0 | 35 | "type": "radio", |
michael@0 | 36 | "title": "tëst", |
michael@0 | 37 | "value": "red", |
michael@0 | 38 | "options": [ |
michael@0 | 39 | { |
michael@0 | 40 | "value": "red", |
michael@0 | 41 | "label": "rouge" |
michael@0 | 42 | }, |
michael@0 | 43 | { |
michael@0 | 44 | "value": "blue", |
michael@0 | 45 | "label": "bleu" |
michael@0 | 46 | } |
michael@0 | 47 | ] |
michael@0 | 48 | }], |
michael@0 | 49 | "loader": "lib/main.js" |
michael@0 | 50 | } |