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