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 = 00A0
24 srcEnd = 00CF
25 destBegin = 00A0
26 End of Item 0001
28 Begin of Item 0002
29 Format 0
30 srcBegin = 00D1
31 srcEnd = 00DC
32 destBegin = 00D1
33 End of Item 0002
35 Begin of Item 0003
36 Format 0
37 srcBegin = 00DF
38 srcEnd = 00EF
39 destBegin = 00DF
40 End of Item 0003
42 Begin of Item 0004
43 Format 0
44 srcBegin = 00F1
45 srcEnd = 00FC
46 destBegin = 00F1
47 End of Item 0004
49 Begin of Item 0005
50 Format 2
51 srcBegin = 00FF
52 destBegin = 00FF
53 End of Item 0005
55 Begin of Item 0006
56 Format 1
57 srcBegin = 011E
58 srcEnd = 011F
59 mappingOffset = 0000
60 Mapping =
61 00D0 00F0
62 End of Item 0006
64 Begin of Item 0007
65 Format 1
66 srcBegin = 0130
67 srcEnd = 0131
68 mappingOffset = 0002
69 Mapping =
70 00DD 00FD
71 End of Item 0007
73 Begin of Item 0008
74 Format 1
75 srcBegin = 0152
76 srcEnd = 0161
77 mappingOffset = 0004
78 Mapping =
79 008C 009C FFFD FFFD FFFD FFFD FFFD FFFD
80 FFFD FFFD FFFD FFFD 00DE 00FE 008A 009A
81 End of Item 0008
83 Begin of Item 0009
84 Format 2
85 srcBegin = 0178
86 destBegin = 009F
87 End of Item 0009
89 Begin of Item 000A
90 Format 2
91 srcBegin = 0192
92 destBegin = 0083
93 End of Item 000A
95 Begin of Item 000B
96 Format 2
97 srcBegin = 02C6
98 destBegin = 0088
99 End of Item 000B
101 Begin of Item 000C
102 Format 2
103 srcBegin = 02DC
104 destBegin = 0098
105 End of Item 000C
107 Begin of Item 000D
108 Format 1
109 srcBegin = 2013
110 srcEnd = 203A
111 mappingOffset = 0014
112 Mapping =
113 0096 0097 FFFD FFFD FFFD 0091 0092 0082
114 FFFD 0093 0094 0084 FFFD 0086 0087 0095
115 FFFD FFFD FFFD 0085 FFFD FFFD FFFD FFFD
116 FFFD FFFD FFFD FFFD FFFD 0089 FFFD FFFD
117 FFFD FFFD FFFD FFFD FFFD FFFD 008B 009B
118 End of Item 000D
120 Begin of Item 000E
121 Format 2
122 srcBegin = 20AC
123 destBegin = 0080
124 End of Item 000E
126 Begin of Item 000F
127 Format 2
128 srcBegin = 2122
129 destBegin = 0099
130 End of Item 000F
132 ========================================================*/
133 /* Offset=0x0000 ItemOfList */
134 0x0010,
135 /*-------------------------------------------------------*/
136 /* Offset=0x0001 offsetToFormatArray */
137 0x0004,
138 /*-------------------------------------------------------*/
139 /* Offset=0x0002 offsetToMapCellArray */
140 0x0009,
141 /*-------------------------------------------------------*/
142 /* Offset=0x0003 offsetToMappingTable */
143 0x0039,
144 /*-------------------------------------------------------*/
145 /* Offset=0x0004 Start of Format Array */
146 /* Total of Format 0 : 0x0005 */
147 /* Total of Format 1 : 0x0004 */
148 /* Total of Format 2 : 0x0007 */
149 /* Total of Format 3 : 0x0000 */
151 0x0000, 0x1120, 0x2221, 0x2212, 0x0000,
152 /*-------------------------------------------------------*/
153 /* Offset=0x0009 Start of MapCell Array */
154 /* 0000 */ 0x0000, 0x007F, 0x0000,
155 /* 0001 */ 0x00A0, 0x00CF, 0x00A0,
156 /* 0002 */ 0x00D1, 0x00DC, 0x00D1,
157 /* 0003 */ 0x00DF, 0x00EF, 0x00DF,
158 /* 0004 */ 0x00F1, 0x00FC, 0x00F1,
159 /* 0005 */ 0x00FF, 0x0000, 0x00FF,
160 /* 0006 */ 0x011E, 0x011F, 0x0000,
161 /* 0007 */ 0x0130, 0x0131, 0x0002,
162 /* 0008 */ 0x0152, 0x0161, 0x0004,
163 /* 0009 */ 0x0178, 0x0000, 0x009F,
164 /* 000A */ 0x0192, 0x0000, 0x0083,
165 /* 000B */ 0x02C6, 0x0000, 0x0088,
166 /* 000C */ 0x02DC, 0x0000, 0x0098,
167 /* 000D */ 0x2013, 0x203A, 0x0014,
168 /* 000E */ 0x20AC, 0x0000, 0x0080,
169 /* 000F */ 0x2122, 0x0000, 0x0099,
170 /*-------------------------------------------------------*/
171 /* Offset=0x0039 Start of MappingTable */
173 /* 0000 */ 0x00D0, 0x00F0, 0x00DD, 0x00FD, 0x008C, 0x009C, 0xFFFD, 0xFFFD,
174 /* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
175 /* 0010 */ 0x00DE, 0x00FE, 0x008A, 0x009A, 0x0096, 0x0097, 0xFFFD, 0xFFFD,
176 /* 0018 */ 0xFFFD, 0x0091, 0x0092, 0x0082, 0xFFFD, 0x0093, 0x0094, 0x0084,
177 /* 0020 */ 0xFFFD, 0x0086, 0x0087, 0x0095, 0xFFFD, 0xFFFD, 0xFFFD, 0x0085,
178 /* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
179 /* 0030 */ 0xFFFD, 0x0089, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
180 /* 0038 */ 0xFFFD, 0xFFFD, 0x008B, 0x009B,
181 /* End of table Total Length = 0x0075 * 2 */