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/zh_Hans_MO.xml |
michael@0 | 7 | // * |
michael@0 | 8 | // *************************************************************************** |
michael@0 | 9 | zh_Hans_MO{ |
michael@0 | 10 | ExemplarCharactersPunctuation{"[_ ﹏ \\- — , 、 ; : ! ? … 。 · ‘ ’ “ ” ( ) [ ] 〈 〉 《 》 ﹁ ﹂ ﹃ ﹄ 【 】 〔 〕 / ~]"} |
michael@0 | 11 | NumberElements{ |
michael@0 | 12 | latn{ |
michael@0 | 13 | patterns{ |
michael@0 | 14 | accountingFormat{"¤#,##0.00;(¤#,##0.00)"} |
michael@0 | 15 | currencyFormat{"¤#,##0.00"} |
michael@0 | 16 | } |
michael@0 | 17 | } |
michael@0 | 18 | } |
michael@0 | 19 | Version{"2.0.92.87"} |
michael@0 | 20 | calendar{ |
michael@0 | 21 | chinese{ |
michael@0 | 22 | DateTimePatterns{ |
michael@0 | 23 | "zzzzah:mm:ss", |
michael@0 | 24 | "zah:mm:ss", |
michael@0 | 25 | "ah:mm:ss", |
michael@0 | 26 | "ah:mm", |
michael@0 | 27 | { |
michael@0 | 28 | "U年MMMd日EEEE", |
michael@0 | 29 | "hanidec", |
michael@0 | 30 | } |
michael@0 | 31 | { |
michael@0 | 32 | "U年MMMd日", |
michael@0 | 33 | "hanidec", |
michael@0 | 34 | } |
michael@0 | 35 | { |
michael@0 | 36 | "U年MMMd日", |
michael@0 | 37 | "hanidec", |
michael@0 | 38 | } |
michael@0 | 39 | "U-M-d", |
michael@0 | 40 | "{1} {0}", |
michael@0 | 41 | "{1} {0}", |
michael@0 | 42 | "{1} {0}", |
michael@0 | 43 | "{1} {0}", |
michael@0 | 44 | "{1} {0}", |
michael@0 | 45 | } |
michael@0 | 46 | } |
michael@0 | 47 | generic{ |
michael@0 | 48 | DateTimePatterns{ |
michael@0 | 49 | "zzzzah:mm:ss", |
michael@0 | 50 | "zah:mm:ss", |
michael@0 | 51 | "ah:mm:ss", |
michael@0 | 52 | "ah:mm", |
michael@0 | 53 | "Gy年M月d日EEEE", |
michael@0 | 54 | "Gy年M月d日", |
michael@0 | 55 | "Gy年M月d日", |
michael@0 | 56 | "d/M/yyGGGGG", |
michael@0 | 57 | "{1} {0}", |
michael@0 | 58 | "{1} {0}", |
michael@0 | 59 | "{1} {0}", |
michael@0 | 60 | "{1} {0}", |
michael@0 | 61 | "{1} {0}", |
michael@0 | 62 | } |
michael@0 | 63 | availableFormats{ |
michael@0 | 64 | MEd{"M-dE"} |
michael@0 | 65 | MMMMdd{"M月d日"} |
michael@0 | 66 | MMdd{"MM-dd"} |
michael@0 | 67 | Md{"M-d"} |
michael@0 | 68 | yyyyMEd{"Gy年M月d日,E"} |
michael@0 | 69 | yyyyMd{"Gy年M月d日"} |
michael@0 | 70 | } |
michael@0 | 71 | intervalFormats{ |
michael@0 | 72 | Hmv{ |
michael@0 | 73 | H{"vHH:mm–HH:mm"} |
michael@0 | 74 | m{"vHH:mm–HH:mm"} |
michael@0 | 75 | } |
michael@0 | 76 | Hv{ |
michael@0 | 77 | H{"vHH–HH"} |
michael@0 | 78 | } |
michael@0 | 79 | MEd{ |
michael@0 | 80 | M{"M-dE至M-dE"} |
michael@0 | 81 | d{"M-dE至M-dE"} |
michael@0 | 82 | } |
michael@0 | 83 | MMMEd{ |
michael@0 | 84 | d{"M月d日E至M月d日E"} |
michael@0 | 85 | } |
michael@0 | 86 | Md{ |
michael@0 | 87 | M{"M-d至M-d"} |
michael@0 | 88 | d{"M-d至M-d"} |
michael@0 | 89 | } |
michael@0 | 90 | fallback{"{0}–{1}"} |
michael@0 | 91 | yM{ |
michael@0 | 92 | M{"y年M月至y年M月"} |
michael@0 | 93 | } |
michael@0 | 94 | yMEd{ |
michael@0 | 95 | M{"d/M/yE至d/M/yE"} |
michael@0 | 96 | d{"d/M/yE至d/M/yE"} |
michael@0 | 97 | y{"d/M/yE至d/M/yE"} |
michael@0 | 98 | } |
michael@0 | 99 | yMMMEd{ |
michael@0 | 100 | d{"y年M月d日E至M月d日E"} |
michael@0 | 101 | } |
michael@0 | 102 | yMd{ |
michael@0 | 103 | M{"d/M/y至d/M/y"} |
michael@0 | 104 | d{"d/M/y至d/M/y"} |
michael@0 | 105 | y{"d/M/y至d/M/y"} |
michael@0 | 106 | } |
michael@0 | 107 | } |
michael@0 | 108 | } |
michael@0 | 109 | gregorian{ |
michael@0 | 110 | DateTimePatterns{ |
michael@0 | 111 | "zzzzah:mm:ss", |
michael@0 | 112 | "zah:mm:ss", |
michael@0 | 113 | "ah:mm:ss", |
michael@0 | 114 | "ah:mm", |
michael@0 | 115 | "y年M月d日EEEE", |
michael@0 | 116 | "y年M月d日", |
michael@0 | 117 | "y年M月d日", |
michael@0 | 118 | "d/M/yy", |
michael@0 | 119 | "{1} {0}", |
michael@0 | 120 | "{1}{0}", |
michael@0 | 121 | "{1}{0}", |
michael@0 | 122 | "{1} {0}", |
michael@0 | 123 | "{1} {0}", |
michael@0 | 124 | } |
michael@0 | 125 | availableFormats{ |
michael@0 | 126 | MEd{"M-dE"} |
michael@0 | 127 | MMMMdd{"M月d日"} |
michael@0 | 128 | MMdd{"MM-dd"} |
michael@0 | 129 | Md{"M-d"} |
michael@0 | 130 | yM{"y年M月"} |
michael@0 | 131 | yMEd{"y年M月d日,E"} |
michael@0 | 132 | yMd{"y年M月d日"} |
michael@0 | 133 | } |
michael@0 | 134 | intervalFormats{ |
michael@0 | 135 | Hmv{ |
michael@0 | 136 | H{"vHH:mm–HH:mm"} |
michael@0 | 137 | m{"vHH:mm–HH:mm"} |
michael@0 | 138 | } |
michael@0 | 139 | Hv{ |
michael@0 | 140 | H{"vHH–HH"} |
michael@0 | 141 | } |
michael@0 | 142 | MEd{ |
michael@0 | 143 | M{"M-dE至M-dE"} |
michael@0 | 144 | d{"M-dE至M-dE"} |
michael@0 | 145 | } |
michael@0 | 146 | MMMEd{ |
michael@0 | 147 | d{"M月d日E至M月d日E"} |
michael@0 | 148 | } |
michael@0 | 149 | Md{ |
michael@0 | 150 | M{"M-d至M-d"} |
michael@0 | 151 | d{"M-d至M-d"} |
michael@0 | 152 | } |
michael@0 | 153 | d{ |
michael@0 | 154 | d{"d日至d日"} |
michael@0 | 155 | } |
michael@0 | 156 | fallback{"{0}–{1}"} |
michael@0 | 157 | yM{ |
michael@0 | 158 | M{"y年M月至y年M月"} |
michael@0 | 159 | } |
michael@0 | 160 | yMEd{ |
michael@0 | 161 | M{"d/M/yE至d/M/yE"} |
michael@0 | 162 | d{"d/M/yE至d/M/yE"} |
michael@0 | 163 | y{"d/M/yE至d/M/yE"} |
michael@0 | 164 | } |
michael@0 | 165 | yMMMEd{ |
michael@0 | 166 | d{"y年M月d日E至M月d日E"} |
michael@0 | 167 | } |
michael@0 | 168 | yMd{ |
michael@0 | 169 | M{"d/M/y至d/M/y"} |
michael@0 | 170 | d{"d/M/y至d/M/y"} |
michael@0 | 171 | y{"d/M/y至d/M/y"} |
michael@0 | 172 | } |
michael@0 | 173 | } |
michael@0 | 174 | } |
michael@0 | 175 | islamic{ |
michael@0 | 176 | DateTimePatterns{ |
michael@0 | 177 | "zzzzah:mm:ss", |
michael@0 | 178 | "zah:mm:ss", |
michael@0 | 179 | "ah:mm:ss", |
michael@0 | 180 | "ah:mm", |
michael@0 | 181 | "Gy年M月d日EEEE", |
michael@0 | 182 | "Gy年M月d日", |
michael@0 | 183 | "Gy年M月d日", |
michael@0 | 184 | "Gd/M/yy", |
michael@0 | 185 | "{1} {0}", |
michael@0 | 186 | "{1} {0}", |
michael@0 | 187 | "{1} {0}", |
michael@0 | 188 | "{1} {0}", |
michael@0 | 189 | "{1} {0}", |
michael@0 | 190 | } |
michael@0 | 191 | } |
michael@0 | 192 | roc{ |
michael@0 | 193 | DateTimePatterns{ |
michael@0 | 194 | "zzzzah:mm:ss", |
michael@0 | 195 | "zah:mm:ss", |
michael@0 | 196 | "ah:mm:ss", |
michael@0 | 197 | "ah:mm", |
michael@0 | 198 | "Gy年M月d日EEEE", |
michael@0 | 199 | "Gy年M月d日", |
michael@0 | 200 | "Gy年M月d日", |
michael@0 | 201 | "Gd/M/yy", |
michael@0 | 202 | "{1} {0}", |
michael@0 | 203 | "{1} {0}", |
michael@0 | 204 | "{1} {0}", |
michael@0 | 205 | "{1} {0}", |
michael@0 | 206 | "{1} {0}", |
michael@0 | 207 | } |
michael@0 | 208 | availableFormats{ |
michael@0 | 209 | MEd{"M-dE"} |
michael@0 | 210 | MMM{"M月"} |
michael@0 | 211 | Md{"M-d"} |
michael@0 | 212 | } |
michael@0 | 213 | } |
michael@0 | 214 | } |
michael@0 | 215 | fields{ |
michael@0 | 216 | day{ |
michael@0 | 217 | dn{"天"} |
michael@0 | 218 | } |
michael@0 | 219 | second{ |
michael@0 | 220 | relativeTime{ |
michael@0 | 221 | future{ |
michael@0 | 222 | other{"{0}秒后"} |
michael@0 | 223 | } |
michael@0 | 224 | past{ |
michael@0 | 225 | other{"{0}秒前"} |
michael@0 | 226 | } |
michael@0 | 227 | } |
michael@0 | 228 | } |
michael@0 | 229 | } |
michael@0 | 230 | units{ |
michael@0 | 231 | compound{ |
michael@0 | 232 | per{"{0}/{1}"} |
michael@0 | 233 | } |
michael@0 | 234 | duration{ |
michael@0 | 235 | second{ |
michael@0 | 236 | other{"{0}秒"} |
michael@0 | 237 | } |
michael@0 | 238 | } |
michael@0 | 239 | } |
michael@0 | 240 | unitsNarrow{ |
michael@0 | 241 | length{ |
michael@0 | 242 | centimeter{ |
michael@0 | 243 | other{"{0}厘米"} |
michael@0 | 244 | } |
michael@0 | 245 | foot{ |
michael@0 | 246 | other{"{0}英尺"} |
michael@0 | 247 | } |
michael@0 | 248 | inch{ |
michael@0 | 249 | other{"{0}英寸"} |
michael@0 | 250 | } |
michael@0 | 251 | kilometer{ |
michael@0 | 252 | other{"{0}公里"} |
michael@0 | 253 | } |
michael@0 | 254 | light-year{ |
michael@0 | 255 | other{"{0}光年"} |
michael@0 | 256 | } |
michael@0 | 257 | meter{ |
michael@0 | 258 | other{"{0}米"} |
michael@0 | 259 | } |
michael@0 | 260 | mile{ |
michael@0 | 261 | other{"{0}英里"} |
michael@0 | 262 | } |
michael@0 | 263 | millimeter{ |
michael@0 | 264 | other{"{0}毫米"} |
michael@0 | 265 | } |
michael@0 | 266 | picometer{ |
michael@0 | 267 | other{"{0}皮米"} |
michael@0 | 268 | } |
michael@0 | 269 | yard{ |
michael@0 | 270 | other{"{0}码"} |
michael@0 | 271 | } |
michael@0 | 272 | } |
michael@0 | 273 | } |
michael@0 | 274 | unitsShort{ |
michael@0 | 275 | length{ |
michael@0 | 276 | centimeter{ |
michael@0 | 277 | other{"{0}厘米"} |
michael@0 | 278 | } |
michael@0 | 279 | foot{ |
michael@0 | 280 | other{"{0}英尺"} |
michael@0 | 281 | } |
michael@0 | 282 | inch{ |
michael@0 | 283 | other{"{0}英寸"} |
michael@0 | 284 | } |
michael@0 | 285 | kilometer{ |
michael@0 | 286 | other{"{0}公里"} |
michael@0 | 287 | } |
michael@0 | 288 | light-year{ |
michael@0 | 289 | other{"{0}光年"} |
michael@0 | 290 | } |
michael@0 | 291 | meter{ |
michael@0 | 292 | other{"{0}米"} |
michael@0 | 293 | } |
michael@0 | 294 | mile{ |
michael@0 | 295 | other{"{0}英里"} |
michael@0 | 296 | } |
michael@0 | 297 | millimeter{ |
michael@0 | 298 | other{"{0}毫米"} |
michael@0 | 299 | } |
michael@0 | 300 | picometer{ |
michael@0 | 301 | other{"{0}皮米"} |
michael@0 | 302 | } |
michael@0 | 303 | yard{ |
michael@0 | 304 | other{"{0}码"} |
michael@0 | 305 | } |
michael@0 | 306 | } |
michael@0 | 307 | } |
michael@0 | 308 | } |