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 Table in Debug form
15 Begin of Item 0000
16 Format 0
17 srcBegin = 0000
18 srcEnd = 007F
19 destBegin = 0000
20 End of Item 0000
22 Begin of Item 0001
23 Format 0
24 srcBegin = 00A0
25 srcEnd = 00C2
26 destBegin = 00A0
27 End of Item 0001
29 Begin of Item 0002
30 Format 0
31 srcBegin = 00C4
32 srcEnd = 00CB
33 destBegin = 00C4
34 End of Item 0002
36 Begin of Item 0003
37 Format 0
38 srcBegin = 00D6
39 srcEnd = 00DC
40 destBegin = 00D6
41 End of Item 0003
43 Begin of Item 0004
44 Format 0
45 srcBegin = 00E4
46 srcEnd = 00EB
47 destBegin = 00E4
48 End of Item 0004
50 Begin of Item 0005
51 Format 0
52 srcBegin = 00F6
53 srcEnd = 00FC
54 destBegin = 00F6
55 End of Item 0005
57 Begin of Item 0006
58 Format 1
59 srcBegin = 0080
60 srcEnd = 009F
61 mappingOffset = 0000
62 Mapping =
63 20AC FFFD 201A 0192 201E 2026 2020 2021
64 02C6 2030 FFFD 2039 0152 FFFD FFFD FFFD
65 FFFD 2018 2019 201C 201D 2022 2013 2014
66 02DC 2122 FFFD 203A 0153 FFFD FFFD 0178
67 End of Item 0006
69 Begin of Item 0007
70 Format 1
71 srcBegin = 00C3
72 srcEnd = 00FF
73 mappingOffset = 0020
74 Mapping =
75 0102 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
76 FFFD 0300 00CD 00CE 00CF 0110 00D1 0309
77 00D3 00D4 01A0 FFFD FFFD FFFD FFFD FFFD
78 FFFD FFFD 01AF 0303 00DF 00E0 00E1 00E2
79 0103 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
80 FFFD 0301 00ED 00EE 00EF 0111 00F1 0323
81 00F3 00F4 01A1 FFFD FFFD FFFD FFFD FFFD
82 FFFD FFFD 01B0 20AB 00FF
83 End of Item 0007
85 ========================================================*/
86 /* Offset=0x0000 ItemOfList */
87 0x0008,
88 /*-------------------------------------------------------*/
89 /* Offset=0x0001 offsetToFormatArray */
90 0x0004,
91 /*-------------------------------------------------------*/
92 /* Offset=0x0002 offsetToMapCellArray */
93 0x0007,
94 /*-------------------------------------------------------*/
95 /* Offset=0x0003 offsetToMappingTable */
96 0x001F,
97 /*-------------------------------------------------------*/
98 /* Offset=0x0004 Start of Format Array */
99 /* Total of Format 0 : 0x0006 */
100 /* Total of Format 1 : 0x0002 */
101 /* Total of Format 2 : 0x0000 */
102 /* Total of Format 3 : 0x0000 */
104 0x0000, 0x1100, 0x0000,
105 /*-------------------------------------------------------*/
106 /* Offset=0x0007 Start of MapCell Array */
107 /* 0000 */ 0x0000, 0x007F, 0x0000,
108 /* 0001 */ 0x00A0, 0x00C2, 0x00A0,
109 /* 0002 */ 0x00C4, 0x00CB, 0x00C4,
110 /* 0003 */ 0x00D6, 0x00DC, 0x00D6,
111 /* 0004 */ 0x00E4, 0x00EB, 0x00E4,
112 /* 0005 */ 0x00F6, 0x00FC, 0x00F6,
113 /* 0006 */ 0x0080, 0x009F, 0x0000,
114 /* 0007 */ 0x00C3, 0x00FF, 0x0020,
115 /*-------------------------------------------------------*/
116 /* Offset=0x001F Start of MappingTable */
118 /* 0000 */ 0x20AC, 0xFFFD, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021,
119 /* 0008 */ 0x02C6, 0x2030, 0xFFFD, 0x2039, 0x0152, 0xFFFD, 0xFFFD, 0xFFFD,
120 /* 0010 */ 0xFFFD, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
121 /* 0018 */ 0x02DC, 0x2122, 0xFFFD, 0x203A, 0x0153, 0xFFFD, 0xFFFD, 0x0178,
122 /* 0020 */ 0x0102, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
123 /* 0028 */ 0xFFFD, 0x0300, 0x00CD, 0x00CE, 0x00CF, 0x0110, 0x00D1, 0x0309,
124 /* 0030 */ 0x00D3, 0x00D4, 0x01A0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
125 /* 0038 */ 0xFFFD, 0xFFFD, 0x01AF, 0x0303, 0x00DF, 0x00E0, 0x00E1, 0x00E2,
126 /* 0040 */ 0x0103, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
127 /* 0048 */ 0xFFFD, 0x0301, 0x00ED, 0x00EE, 0x00EF, 0x0111, 0x00F1, 0x0323,
128 /* 0050 */ 0x00F3, 0x00F4, 0x01A1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
129 /* 0058 */ 0xFFFD, 0xFFFD, 0x01B0, 0x20AB, 0x00FF,
130 /* End of table Total Length = 0x007C * 2 */