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 | // * |
michael@0 | 3 | // * Copyright (C) 2013 International Business Machines |
michael@0 | 4 | // * Corporation and others. All Rights Reserved. |
michael@0 | 5 | // * Tool: org.unicode.cldr.icu.NewLdml2IcuConverter |
michael@0 | 6 | // * Source File: <path>/common/main/jmc.xml |
michael@0 | 7 | // * |
michael@0 | 8 | // *************************************************************************** |
michael@0 | 9 | /** |
michael@0 | 10 | * ICU <specials> source: <path>/common/main/jmc.xml |
michael@0 | 11 | */ |
michael@0 | 12 | jmc{ |
michael@0 | 13 | AuxExemplarCharacters{"[q x]"} |
michael@0 | 14 | ExemplarCharacters{"[a b c d e f g h i j k l m n o p r s t u v w y z]"} |
michael@0 | 15 | ExemplarCharactersIndex{"[A B C D E F G H I J K L M N O P R S T U V W Y Z]"} |
michael@0 | 16 | LocaleScript{ |
michael@0 | 17 | "Latn", |
michael@0 | 18 | } |
michael@0 | 19 | NumberElements{ |
michael@0 | 20 | latn{ |
michael@0 | 21 | patterns{ |
michael@0 | 22 | currencyFormat{"¤#,##0.00"} |
michael@0 | 23 | } |
michael@0 | 24 | } |
michael@0 | 25 | } |
michael@0 | 26 | Version{"2.0.92.87"} |
michael@0 | 27 | calendar{ |
michael@0 | 28 | generic{ |
michael@0 | 29 | DateTimePatterns{ |
michael@0 | 30 | "h:mm:ss a zzzz", |
michael@0 | 31 | "h:mm:ss a z", |
michael@0 | 32 | "h:mm:ss a", |
michael@0 | 33 | "h:mm a", |
michael@0 | 34 | "EEEE, d MMMM y G", |
michael@0 | 35 | "d MMMM y G", |
michael@0 | 36 | "d MMM y G", |
michael@0 | 37 | "dd/MM/y GGGGG", |
michael@0 | 38 | "{1} {0}", |
michael@0 | 39 | "{1} {0}", |
michael@0 | 40 | "{1} {0}", |
michael@0 | 41 | "{1} {0}", |
michael@0 | 42 | "{1} {0}", |
michael@0 | 43 | } |
michael@0 | 44 | availableFormats{ |
michael@0 | 45 | Hm{"HH:mm"} |
michael@0 | 46 | Hms{"HH:mm:ss"} |
michael@0 | 47 | M{"L"} |
michael@0 | 48 | MEd{"E, M/d"} |
michael@0 | 49 | MMM{"LLL"} |
michael@0 | 50 | MMMEd{"E, MMM d"} |
michael@0 | 51 | MMMMEd{"E, MMMM d"} |
michael@0 | 52 | MMMMd{"MMMM d"} |
michael@0 | 53 | MMMd{"MMM d"} |
michael@0 | 54 | Md{"M/d"} |
michael@0 | 55 | d{"d"} |
michael@0 | 56 | hm{"h:mm a"} |
michael@0 | 57 | ms{"mm:ss"} |
michael@0 | 58 | y{"y"} |
michael@0 | 59 | yM{"M/y"} |
michael@0 | 60 | yMEd{"E, M/d/y"} |
michael@0 | 61 | yMMM{"MMM y"} |
michael@0 | 62 | yMMMEd{"E, MMM d, y"} |
michael@0 | 63 | yMMMM{"MMMM y"} |
michael@0 | 64 | yQQQ{"QQQ y"} |
michael@0 | 65 | yQQQQ{"QQQQ y"} |
michael@0 | 66 | } |
michael@0 | 67 | } |
michael@0 | 68 | gregorian{ |
michael@0 | 69 | AmPmMarkers{ |
michael@0 | 70 | "utuko", |
michael@0 | 71 | "kyiukonyi", |
michael@0 | 72 | } |
michael@0 | 73 | DateTimePatterns{ |
michael@0 | 74 | "h:mm:ss a zzzz", |
michael@0 | 75 | "h:mm:ss a z", |
michael@0 | 76 | "h:mm:ss a", |
michael@0 | 77 | "h:mm a", |
michael@0 | 78 | "EEEE, d MMMM y", |
michael@0 | 79 | "d MMMM y", |
michael@0 | 80 | "d MMM y", |
michael@0 | 81 | "dd/MM/y", |
michael@0 | 82 | "{1} {0}", |
michael@0 | 83 | "{1} {0}", |
michael@0 | 84 | "{1} {0}", |
michael@0 | 85 | "{1} {0}", |
michael@0 | 86 | "{1} {0}", |
michael@0 | 87 | } |
michael@0 | 88 | availableFormats{ |
michael@0 | 89 | Hm{"HH:mm"} |
michael@0 | 90 | Hms{"HH:mm:ss"} |
michael@0 | 91 | M{"L"} |
michael@0 | 92 | MEd{"E, M/d"} |
michael@0 | 93 | MMM{"LLL"} |
michael@0 | 94 | MMMEd{"E, MMM d"} |
michael@0 | 95 | MMMMEd{"E, MMMM d"} |
michael@0 | 96 | MMMMd{"MMMM d"} |
michael@0 | 97 | MMMd{"MMM d"} |
michael@0 | 98 | Md{"M/d"} |
michael@0 | 99 | d{"d"} |
michael@0 | 100 | hm{"h:mm a"} |
michael@0 | 101 | ms{"mm:ss"} |
michael@0 | 102 | y{"y"} |
michael@0 | 103 | yM{"M/y"} |
michael@0 | 104 | yMEd{"E, M/d/y"} |
michael@0 | 105 | yMMM{"MMM y"} |
michael@0 | 106 | yMMMEd{"E, MMM d, y"} |
michael@0 | 107 | yMMMM{"MMMM y"} |
michael@0 | 108 | yQQQ{"QQQ y"} |
michael@0 | 109 | yQQQQ{"QQQQ y"} |
michael@0 | 110 | } |
michael@0 | 111 | dayNames{ |
michael@0 | 112 | format{ |
michael@0 | 113 | abbreviated{ |
michael@0 | 114 | "Jpi", |
michael@0 | 115 | "Jtt", |
michael@0 | 116 | "Jnn", |
michael@0 | 117 | "Jtn", |
michael@0 | 118 | "Alh", |
michael@0 | 119 | "Iju", |
michael@0 | 120 | "Jmo", |
michael@0 | 121 | } |
michael@0 | 122 | wide{ |
michael@0 | 123 | "Jumapilyi", |
michael@0 | 124 | "Jumatatuu", |
michael@0 | 125 | "Jumanne", |
michael@0 | 126 | "Jumatanu", |
michael@0 | 127 | "Alhamisi", |
michael@0 | 128 | "Ijumaa", |
michael@0 | 129 | "Jumamosi", |
michael@0 | 130 | } |
michael@0 | 131 | } |
michael@0 | 132 | stand-alone{ |
michael@0 | 133 | narrow{ |
michael@0 | 134 | "J", |
michael@0 | 135 | "J", |
michael@0 | 136 | "J", |
michael@0 | 137 | "J", |
michael@0 | 138 | "A", |
michael@0 | 139 | "I", |
michael@0 | 140 | "J", |
michael@0 | 141 | } |
michael@0 | 142 | } |
michael@0 | 143 | } |
michael@0 | 144 | eras{ |
michael@0 | 145 | abbreviated{ |
michael@0 | 146 | "KK", |
michael@0 | 147 | "BK", |
michael@0 | 148 | } |
michael@0 | 149 | wide{ |
michael@0 | 150 | "Kabla ya Kristu", |
michael@0 | 151 | "Baada ya Kristu", |
michael@0 | 152 | } |
michael@0 | 153 | } |
michael@0 | 154 | monthNames{ |
michael@0 | 155 | format{ |
michael@0 | 156 | abbreviated{ |
michael@0 | 157 | "Jan", |
michael@0 | 158 | "Feb", |
michael@0 | 159 | "Mac", |
michael@0 | 160 | "Apr", |
michael@0 | 161 | "Mei", |
michael@0 | 162 | "Jun", |
michael@0 | 163 | "Jul", |
michael@0 | 164 | "Ago", |
michael@0 | 165 | "Sep", |
michael@0 | 166 | "Okt", |
michael@0 | 167 | "Nov", |
michael@0 | 168 | "Des", |
michael@0 | 169 | } |
michael@0 | 170 | wide{ |
michael@0 | 171 | "Januari", |
michael@0 | 172 | "Februari", |
michael@0 | 173 | "Machi", |
michael@0 | 174 | "Aprilyi", |
michael@0 | 175 | "Mei", |
michael@0 | 176 | "Junyi", |
michael@0 | 177 | "Julyai", |
michael@0 | 178 | "Agusti", |
michael@0 | 179 | "Septemba", |
michael@0 | 180 | "Oktoba", |
michael@0 | 181 | "Novemba", |
michael@0 | 182 | "Desemba", |
michael@0 | 183 | } |
michael@0 | 184 | } |
michael@0 | 185 | stand-alone{ |
michael@0 | 186 | narrow{ |
michael@0 | 187 | "J", |
michael@0 | 188 | "F", |
michael@0 | 189 | "M", |
michael@0 | 190 | "A", |
michael@0 | 191 | "M", |
michael@0 | 192 | "J", |
michael@0 | 193 | "J", |
michael@0 | 194 | "A", |
michael@0 | 195 | "S", |
michael@0 | 196 | "O", |
michael@0 | 197 | "N", |
michael@0 | 198 | "D", |
michael@0 | 199 | } |
michael@0 | 200 | } |
michael@0 | 201 | } |
michael@0 | 202 | quarters{ |
michael@0 | 203 | format{ |
michael@0 | 204 | abbreviated{ |
michael@0 | 205 | "R1", |
michael@0 | 206 | "R2", |
michael@0 | 207 | "R3", |
michael@0 | 208 | "R4", |
michael@0 | 209 | } |
michael@0 | 210 | wide{ |
michael@0 | 211 | "Robo 1", |
michael@0 | 212 | "Robo 2", |
michael@0 | 213 | "Robo 3", |
michael@0 | 214 | "Robo 4", |
michael@0 | 215 | } |
michael@0 | 216 | } |
michael@0 | 217 | } |
michael@0 | 218 | } |
michael@0 | 219 | } |
michael@0 | 220 | delimiters{ |
michael@0 | 221 | alternateQuotationEnd{"’"} |
michael@0 | 222 | alternateQuotationStart{"‘"} |
michael@0 | 223 | quotationEnd{"”"} |
michael@0 | 224 | quotationStart{"“"} |
michael@0 | 225 | } |
michael@0 | 226 | fields{ |
michael@0 | 227 | day{ |
michael@0 | 228 | dn{"Mfiri"} |
michael@0 | 229 | relative{ |
michael@0 | 230 | "-1"{"Ukou"} |
michael@0 | 231 | "0"{"Inu"} |
michael@0 | 232 | "1"{"Ngama"} |
michael@0 | 233 | } |
michael@0 | 234 | } |
michael@0 | 235 | dayperiod{ |
michael@0 | 236 | dn{"Mfiri o siku"} |
michael@0 | 237 | } |
michael@0 | 238 | era{ |
michael@0 | 239 | dn{"Kacha"} |
michael@0 | 240 | } |
michael@0 | 241 | hour{ |
michael@0 | 242 | dn{"Saa"} |
michael@0 | 243 | } |
michael@0 | 244 | minute{ |
michael@0 | 245 | dn{"Dakyika"} |
michael@0 | 246 | } |
michael@0 | 247 | month{ |
michael@0 | 248 | dn{"Mori"} |
michael@0 | 249 | } |
michael@0 | 250 | second{ |
michael@0 | 251 | dn{"Sekunde"} |
michael@0 | 252 | } |
michael@0 | 253 | week{ |
michael@0 | 254 | dn{"Wiikyi"} |
michael@0 | 255 | } |
michael@0 | 256 | year{ |
michael@0 | 257 | dn{"Maka"} |
michael@0 | 258 | } |
michael@0 | 259 | zone{ |
michael@0 | 260 | dn{"Mfiri o saa"} |
michael@0 | 261 | } |
michael@0 | 262 | } |
michael@0 | 263 | } |