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/. */
6 /*========================================================
7 This is a Generated file. Please don't edit it.
9 The tool which used to generate this file is called umaptable.
10 You can find this tool under mozilla/intl/uconv/tools/umaptable.c.
11 If you have any problem of this file. Please contact
12 Netscape Client International Team or
13 ftang@netscape <Frank Tang>
15 Table in Debug form
16 Begin of Item 0000
17 Format 0
18 srcBegin = 0000
19 srcEnd = 007E
20 destBegin = 0000
21 End of Item 0000
23 Begin of Item 0001
24 Format 2
25 srcBegin = 00AB
26 destBegin = 00A7
27 End of Item 0001
29 Begin of Item 0002
30 Format 2
31 srcBegin = 00BB
32 destBegin = 00A6
33 End of Item 0002
35 Begin of Item 0003
36 Format 1
37 srcBegin = 0531
38 srcEnd = 058A
39 mappingOffset = 0000
40 Mapping =
41 00B2 00B4 00B6 00B8 00BA 00BC 00BE 00C0
42 00C2 00C4 00C6 00C8 00CA 00CC 00CE 00D0
43 00D2 00D4 00D6 00D8 00DA 00DC 00DE 00E0
44 00E2 00E4 00E6 00E8 00EA 00EC 00EE 00F0
45 00F2 00F4 00F6 00F8 00FA 00FC FFFD FFFD
46 FFFD 00FE 00B0 00AF 00AA 00B1 FFFD FFFD
47 00B3 00B5 00B7 00B9 00BB 00BD 00BF 00C1
48 00C3 00C5 00C7 00C9 00CB 00CD 00CF 00D1
49 00D3 00D5 00D7 00D9 00DB 00DD 00DF 00E1
50 00E3 00E5 00E7 00E9 00EB 00ED 00EF 00F1
51 00F3 00F5 00F7 00F9 00FB 00FD 00A2 FFFD
52 00A3 00AD
53 End of Item 0003
55 Begin of Item 0004
56 Format 2
57 srcBegin = 2014
58 destBegin = 00A8
59 End of Item 0004
61 Begin of Item 0005
62 Format 2
63 srcBegin = 2026
64 destBegin = 00AE
65 End of Item 0005
67 ========================================================*/
68 /* Offset=0x0000 ItemOfList */
69 0x0006,
70 /*-------------------------------------------------------*/
71 /* Offset=0x0001 offsetToFormatArray */
72 0x0004,
73 /*-------------------------------------------------------*/
74 /* Offset=0x0002 offsetToMapCellArray */
75 0x0006,
76 /*-------------------------------------------------------*/
77 /* Offset=0x0003 offsetToMappingTable */
78 0x0018,
79 /*-------------------------------------------------------*/
80 /* Offset=0x0004 Start of Format Array */
81 /* Total of Format 0 : 0x0001 */
82 /* Total of Format 1 : 0x0001 */
83 /* Total of Format 2 : 0x0004 */
84 /* Total of Format 3 : 0x0000 */
86 0x1220, 0x0022,
87 /*-------------------------------------------------------*/
88 /* Offset=0x0006 Start of MapCell Array */
89 /* 0000 */ 0x0000, 0x007E, 0x0000,
90 /* 0001 */ 0x00AB, 0x0000, 0x00A7,
91 /* 0002 */ 0x00BB, 0x0000, 0x00A6,
92 /* 0003 */ 0x0531, 0x058A, 0x0000,
93 /* 0004 */ 0x2014, 0x0000, 0x00A8,
94 /* 0005 */ 0x2026, 0x0000, 0x00AE,
95 /*-------------------------------------------------------*/
96 /* Offset=0x0018 Start of MappingTable */
98 /* 0000 */ 0x00B2, 0x00B4, 0x00B6, 0x00B8, 0x00BA, 0x00BC, 0x00BE, 0x00C0,
99 /* 0008 */ 0x00C2, 0x00C4, 0x00C6, 0x00C8, 0x00CA, 0x00CC, 0x00CE, 0x00D0,
100 /* 0010 */ 0x00D2, 0x00D4, 0x00D6, 0x00D8, 0x00DA, 0x00DC, 0x00DE, 0x00E0,
101 /* 0018 */ 0x00E2, 0x00E4, 0x00E6, 0x00E8, 0x00EA, 0x00EC, 0x00EE, 0x00F0,
102 /* 0020 */ 0x00F2, 0x00F4, 0x00F6, 0x00F8, 0x00FA, 0x00FC, 0xFFFD, 0xFFFD,
103 /* 0028 */ 0xFFFD, 0x00FE, 0x00B0, 0x00AF, 0x00AA, 0x00B1, 0xFFFD, 0xFFFD,
104 /* 0030 */ 0x00B3, 0x00B5, 0x00B7, 0x00B9, 0x00BB, 0x00BD, 0x00BF, 0x00C1,
105 /* 0038 */ 0x00C3, 0x00C5, 0x00C7, 0x00C9, 0x00CB, 0x00CD, 0x00CF, 0x00D1,
106 /* 0040 */ 0x00D3, 0x00D5, 0x00D7, 0x00D9, 0x00DB, 0x00DD, 0x00DF, 0x00E1,
107 /* 0048 */ 0x00E3, 0x00E5, 0x00E7, 0x00E9, 0x00EB, 0x00ED, 0x00EF, 0x00F1,
108 /* 0050 */ 0x00F3, 0x00F5, 0x00F7, 0x00F9, 0x00FB, 0x00FD, 0x00A2, 0xFFFD,
109 /* 0058 */ 0x00A3, 0x00AD,
110 /* End of table Total Length = 0x0072 * 2 */