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 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /*========================================================
6 This is a Generated file. Please don't edit it.
8 The tool which used to generate this file is called umaptable.
9 You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
10 If you have any problem of this file. Please contact
11 Netscape Client International Team or
12 ftang@netscape <Frank Tang>
14 Note manually added by Jungshik Shin <jshin@mailaps.org>
16 The table was generated by filtering JOHAB.TXT at
17 http://jshin.net/faq/JOHAB.TXT.gz
19 gunzip -c JOHAB.TXT.gz | egrep '^0x.... +0x31(3[1-F]|[45][0-F]|6[0-3])' \
20 | umaptable -ut
22 Table in Debug form
23 Begin of Item 0000
24 Format 0
25 srcBegin = 844A
26 srcEnd = 8450
27 destBegin = 313A
28 End of Item 0000
30 Begin of Item 0001
31 Format 1
32 srcBegin = 8444
33 srcEnd = 8447
34 mappingOffset = 0000
35 Mapping =
36 3133 FFFD 3135 3136
37 End of Item 0001
39 Begin of Item 0002
40 Format 2
41 srcBegin = 8454
42 destBegin = 3144
43 End of Item 0002
45 Begin of Item 0003
46 Format 2
47 srcBegin = 8461
48 destBegin = 314F
49 End of Item 0003
51 Begin of Item 0004
52 Format 2
53 srcBegin = 8481
54 destBegin = 3150
55 End of Item 0004
57 Begin of Item 0005
58 Format 2
59 srcBegin = 84A1
60 destBegin = 3151
61 End of Item 0005
63 Begin of Item 0006
64 Format 2
65 srcBegin = 84C1
66 destBegin = 3152
67 End of Item 0006
69 Begin of Item 0007
70 Format 2
71 srcBegin = 84E1
72 destBegin = 3153
73 End of Item 0007
75 Begin of Item 0008
76 Format 2
77 srcBegin = 8541
78 destBegin = 3154
79 End of Item 0008
81 Begin of Item 0009
82 Format 2
83 srcBegin = 8561
84 destBegin = 3155
85 End of Item 0009
87 Begin of Item 000A
88 Format 2
89 srcBegin = 8581
90 destBegin = 3156
91 End of Item 000A
93 Begin of Item 000B
94 Format 2
95 srcBegin = 85A1
96 destBegin = 3157
97 End of Item 000B
99 Begin of Item 000C
100 Format 2
101 srcBegin = 85C1
102 destBegin = 3158
103 End of Item 000C
105 Begin of Item 000D
106 Format 2
107 srcBegin = 85E1
108 destBegin = 3159
109 End of Item 000D
111 Begin of Item 000E
112 Format 2
113 srcBegin = 8641
114 destBegin = 315A
115 End of Item 000E
117 Begin of Item 000F
118 Format 2
119 srcBegin = 8661
120 destBegin = 315B
121 End of Item 000F
123 Begin of Item 0010
124 Format 2
125 srcBegin = 8681
126 destBegin = 315C
127 End of Item 0010
129 Begin of Item 0011
130 Format 2
131 srcBegin = 86A1
132 destBegin = 315D
133 End of Item 0011
135 Begin of Item 0012
136 Format 2
137 srcBegin = 86C1
138 destBegin = 315E
139 End of Item 0012
141 Begin of Item 0013
142 Format 2
143 srcBegin = 86E1
144 destBegin = 315F
145 End of Item 0013
147 Begin of Item 0014
148 Format 2
149 srcBegin = 8741
150 destBegin = 3160
151 End of Item 0014
153 Begin of Item 0015
154 Format 2
155 srcBegin = 8761
156 destBegin = 3161
157 End of Item 0015
159 Begin of Item 0016
160 Format 2
161 srcBegin = 8781
162 destBegin = 3162
163 End of Item 0016
165 Begin of Item 0017
166 Format 2
167 srcBegin = 87A1
168 destBegin = 3163
169 End of Item 0017
171 Begin of Item 0018
172 Format 2
173 srcBegin = 8841
174 destBegin = 3131
175 End of Item 0018
177 Begin of Item 0019
178 Format 2
179 srcBegin = 8C41
180 destBegin = 3132
181 End of Item 0019
183 Begin of Item 001A
184 Format 2
185 srcBegin = 9041
186 destBegin = 3134
187 End of Item 001A
189 Begin of Item 001B
190 Format 2
191 srcBegin = 9441
192 destBegin = 3137
193 End of Item 001B
195 Begin of Item 001C
196 Format 2
197 srcBegin = 9841
198 destBegin = 3138
199 End of Item 001C
201 Begin of Item 001D
202 Format 2
203 srcBegin = 9C41
204 destBegin = 3139
205 End of Item 001D
207 Begin of Item 001E
208 Format 2
209 srcBegin = A041
210 destBegin = 3141
211 End of Item 001E
213 Begin of Item 001F
214 Format 2
215 srcBegin = A441
216 destBegin = 3142
217 End of Item 001F
219 Begin of Item 0020
220 Format 2
221 srcBegin = A841
222 destBegin = 3143
223 End of Item 0020
225 Begin of Item 0021
226 Format 2
227 srcBegin = AC41
228 destBegin = 3145
229 End of Item 0021
231 Begin of Item 0022
232 Format 2
233 srcBegin = B041
234 destBegin = 3146
235 End of Item 0022
237 Begin of Item 0023
238 Format 2
239 srcBegin = B441
240 destBegin = 3147
241 End of Item 0023
243 Begin of Item 0024
244 Format 2
245 srcBegin = B841
246 destBegin = 3148
247 End of Item 0024
249 Begin of Item 0025
250 Format 2
251 srcBegin = BC41
252 destBegin = 3149
253 End of Item 0025
255 Begin of Item 0026
256 Format 2
257 srcBegin = C041
258 destBegin = 314A
259 End of Item 0026
261 Begin of Item 0027
262 Format 2
263 srcBegin = C441
264 destBegin = 314B
265 End of Item 0027
267 Begin of Item 0028
268 Format 2
269 srcBegin = C841
270 destBegin = 314C
271 End of Item 0028
273 Begin of Item 0029
274 Format 2
275 srcBegin = CC41
276 destBegin = 314D
277 End of Item 0029
279 Begin of Item 002A
280 Format 2
281 srcBegin = D041
282 destBegin = 314E
283 End of Item 002A
285 ========================================================*/
286 /* Offset=0x0000 ItemOfList */
287 0x002B,
288 /*-------------------------------------------------------*/
289 /* Offset=0x0001 offsetToFormatArray */
290 0x0004,
291 /*-------------------------------------------------------*/
292 /* Offset=0x0002 offsetToMapCellArray */
293 0x000F,
294 /*-------------------------------------------------------*/
295 /* Offset=0x0003 offsetToMappingTable */
296 0x0090,
297 /*-------------------------------------------------------*/
298 /* Offset=0x0004 Start of Format Array */
299 /* Total of Format 0 : 0x0001 */
300 /* Total of Format 1 : 0x0001 */
301 /* Total of Format 2 : 0x0029 */
302 /* Total of Format 3 : 0x0000 */
304 0x2210, 0x2222, 0x2222, 0x2222, 0x2222, 0x2222, 0x2222, 0x2222,
305 0x2222, 0x2222, 0x0222,
306 /*-------------------------------------------------------*/
307 /* Offset=0x000F Start of MapCell Array */
308 /* 0000 */ 0x844A, 0x8450, 0x313A,
309 /* 0001 */ 0x8444, 0x8447, 0x0000,
310 /* 0002 */ 0x8454, 0x0000, 0x3144,
311 /* 0003 */ 0x8461, 0x0000, 0x314F,
312 /* 0004 */ 0x8481, 0x0000, 0x3150,
313 /* 0005 */ 0x84A1, 0x0000, 0x3151,
314 /* 0006 */ 0x84C1, 0x0000, 0x3152,
315 /* 0007 */ 0x84E1, 0x0000, 0x3153,
316 /* 0008 */ 0x8541, 0x0000, 0x3154,
317 /* 0009 */ 0x8561, 0x0000, 0x3155,
318 /* 000A */ 0x8581, 0x0000, 0x3156,
319 /* 000B */ 0x85A1, 0x0000, 0x3157,
320 /* 000C */ 0x85C1, 0x0000, 0x3158,
321 /* 000D */ 0x85E1, 0x0000, 0x3159,
322 /* 000E */ 0x8641, 0x0000, 0x315A,
323 /* 000F */ 0x8661, 0x0000, 0x315B,
324 /* 0010 */ 0x8681, 0x0000, 0x315C,
325 /* 0011 */ 0x86A1, 0x0000, 0x315D,
326 /* 0012 */ 0x86C1, 0x0000, 0x315E,
327 /* 0013 */ 0x86E1, 0x0000, 0x315F,
328 /* 0014 */ 0x8741, 0x0000, 0x3160,
329 /* 0015 */ 0x8761, 0x0000, 0x3161,
330 /* 0016 */ 0x8781, 0x0000, 0x3162,
331 /* 0017 */ 0x87A1, 0x0000, 0x3163,
332 /* 0018 */ 0x8841, 0x0000, 0x3131,
333 /* 0019 */ 0x8C41, 0x0000, 0x3132,
334 /* 001A */ 0x9041, 0x0000, 0x3134,
335 /* 001B */ 0x9441, 0x0000, 0x3137,
336 /* 001C */ 0x9841, 0x0000, 0x3138,
337 /* 001D */ 0x9C41, 0x0000, 0x3139,
338 /* 001E */ 0xA041, 0x0000, 0x3141,
339 /* 001F */ 0xA441, 0x0000, 0x3142,
340 /* 0020 */ 0xA841, 0x0000, 0x3143,
341 /* 0021 */ 0xAC41, 0x0000, 0x3145,
342 /* 0022 */ 0xB041, 0x0000, 0x3146,
343 /* 0023 */ 0xB441, 0x0000, 0x3147,
344 /* 0024 */ 0xB841, 0x0000, 0x3148,
345 /* 0025 */ 0xBC41, 0x0000, 0x3149,
346 /* 0026 */ 0xC041, 0x0000, 0x314A,
347 /* 0027 */ 0xC441, 0x0000, 0x314B,
348 /* 0028 */ 0xC841, 0x0000, 0x314C,
349 /* 0029 */ 0xCC41, 0x0000, 0x314D,
350 /* 002A */ 0xD041, 0x0000, 0x314E,
351 /*-------------------------------------------------------*/
352 /* Offset=0x0090 Start of MappingTable */
354 /* 0000 */ 0x3133, 0xFFFD, 0x3135, 0x3136,
355 /* End of table Total Length = 0x0094 * 2 */