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 fromu.
9 If you have any problem of this file. Please contact
10 Netscape Client International Team or
11 ftang@netscape <Frank Tang>
13 Table in Debug form
14 Begin of Item 0000
15 Format 0
16 srcBegin = 0000
17 srcEnd = 007F
18 destBegin = 0000
19 End of Item 0000
21 Begin of Item 0001
22 Format 0
23 srcBegin = 00AB
24 srcEnd = 00B9
25 destBegin = 00AB
26 End of Item 0001
28 Begin of Item 0002
29 Format 0
30 srcBegin = 05B0
31 srcEnd = 05B9
32 destBegin = 00C0
33 End of Item 0002
35 Begin of Item 0003
36 Format 0
37 srcBegin = 05BB
38 srcEnd = 05C3
39 destBegin = 00CB
40 End of Item 0003
42 Begin of Item 0004
43 Format 0
44 srcBegin = 05D0
45 srcEnd = 05EA
46 destBegin = 00E0
47 End of Item 0004
49 Begin of Item 0005
50 Format 1
51 srcBegin = 00A0
52 srcEnd = 00A9
53 mappingOffset = 0000
54 Mapping =
55 00A0 00A1 00A2 00A3 FFFD 00A5 00A6 00A7
56 00A8 00A9
57 End of Item 0005
59 Begin of Item 0006
60 Format 1
61 srcBegin = 00BB
62 srcEnd = 00BF
63 mappingOffset = 000A
64 Mapping =
65 00BB 00BC 00BD 00BE 00BF
66 End of Item 0006
68 Begin of Item 0007
69 Format 2
70 srcBegin = 00D7
71 destBegin = 00AA
72 End of Item 0007
74 Begin of Item 0008
75 Format 2
76 srcBegin = 00F7
77 destBegin = 00BA
78 End of Item 0008
80 Begin of Item 0009
81 Format 2
82 srcBegin = 0192
83 destBegin = 0083
84 End of Item 0009
86 Begin of Item 000A
87 Format 2
88 srcBegin = 02C6
89 destBegin = 0088
90 End of Item 000A
92 Begin of Item 000B
93 Format 2
94 srcBegin = 02DC
95 destBegin = 0098
96 End of Item 000B
98 Begin of Item 000C
99 Format 1
100 srcBegin = 05F0
101 srcEnd = 05F4
102 mappingOffset = 000F
103 Mapping =
104 00D4 00D5 00D6 00D7 00D8
105 End of Item 000C
107 Begin of Item 000D
108 Format 1
109 srcBegin = 200E
110 srcEnd = 203A
111 mappingOffset = 0014
112 Mapping =
113 00FD 00FE FFFD FFFD FFFD 0096 0097 FFFD
114 FFFD FFFD 0091 0092 0082 FFFD 0093 0094
115 0084 FFFD 0086 0087 0095 FFFD FFFD FFFD
116 0085 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
117 FFFD FFFD 0089 FFFD FFFD FFFD FFFD FFFD
118 FFFD FFFD FFFD 008B 009B
119 End of Item 000D
121 Begin of Item 000E
122 Format 1
123 srcBegin = 20AA
124 srcEnd = 20AC
125 mappingOffset = 0041
126 Mapping =
127 00A4 FFFD 0080
128 End of Item 000E
130 Begin of Item 000F
131 Format 2
132 srcBegin = 2122
133 destBegin = 0099
134 End of Item 000F
136 ========================================================*/
137 /* Offset=0x0000 ItemOfList */
138 0x0010,
139 /*-------------------------------------------------------*/
140 /* Offset=0x0001 offsetToFormatArray */
141 0x0004,
142 /*-------------------------------------------------------*/
143 /* Offset=0x0002 offsetToMapCellArray */
144 0x0009,
145 /*-------------------------------------------------------*/
146 /* Offset=0x0003 offsetToMappingTable */
147 0x0039,
148 /*-------------------------------------------------------*/
149 /* Offset=0x0004 Start of Format Array */
150 /* Total of Format 0 : 0x0005 */
151 /* Total of Format 1 : 0x0005 */
152 /* Total of Format 2 : 0x0006 */
153 /* Total of Format 3 : 0x0000 */
155 0x0000, 0x2110, 0x2222, 0x2111, 0x0000,
156 /*-------------------------------------------------------*/
157 /* Offset=0x0009 Start of MapCell Array */
158 /* 0000 */ 0x0000, 0x007F, 0x0000,
159 /* 0001 */ 0x00AB, 0x00B9, 0x00AB,
160 /* 0002 */ 0x05B0, 0x05B9, 0x00C0,
161 /* 0003 */ 0x05BB, 0x05C3, 0x00CB,
162 /* 0004 */ 0x05D0, 0x05EA, 0x00E0,
163 /* 0005 */ 0x00A0, 0x00A9, 0x0000,
164 /* 0006 */ 0x00BB, 0x00BF, 0x000A,
165 /* 0007 */ 0x00D7, 0x0000, 0x00AA,
166 /* 0008 */ 0x00F7, 0x0000, 0x00BA,
167 /* 0009 */ 0x0192, 0x0000, 0x0083,
168 /* 000A */ 0x02C6, 0x0000, 0x0088,
169 /* 000B */ 0x02DC, 0x0000, 0x0098,
170 /* 000C */ 0x05F0, 0x05F4, 0x000F,
171 /* 000D */ 0x200E, 0x203A, 0x0014,
172 /* 000E */ 0x20AA, 0x20AC, 0x0041,
173 /* 000F */ 0x2122, 0x0000, 0x0099,
174 /*-------------------------------------------------------*/
175 /* Offset=0x0039 Start of MappingTable */
177 /* 0000 */ 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0xFFFD, 0x00A5, 0x00A6, 0x00A7,
178 /* 0008 */ 0x00A8, 0x00A9, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, 0x00D4,
179 /* 0010 */ 0x00D5, 0x00D6, 0x00D7, 0x00D8, 0x00FD, 0x00FE, 0xFFFD, 0xFFFD,
180 /* 0018 */ 0xFFFD, 0x0096, 0x0097, 0xFFFD, 0xFFFD, 0xFFFD, 0x0091, 0x0092,
181 /* 0020 */ 0x0082, 0xFFFD, 0x0093, 0x0094, 0x0084, 0xFFFD, 0x0086, 0x0087,
182 /* 0028 */ 0x0095, 0xFFFD, 0xFFFD, 0xFFFD, 0x0085, 0xFFFD, 0xFFFD, 0xFFFD,
183 /* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0089, 0xFFFD,
184 /* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x008B,
185 /* 0040 */ 0x009B, 0x00A4, 0xFFFD, 0x0080,
186 /* End of table Total Length = 0x007D * 2 */