addon-sdk/source/python-lib/cuddlefish/tests/preferences-files/packages/simple-prefs/package.json

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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

mercurial