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 = 007E
19 destBegin = 0000
20 End of Item 0000
22 Begin of Item 0001
23 Format 0
24 srcBegin = 00A0
25 srcEnd = 00A5
26 destBegin = 0020
27 End of Item 0001
29 Begin of Item 0002
30 Format 0
31 srcBegin = 00A7
32 srcEnd = 00BF
33 destBegin = 0027
34 End of Item 0002
36 Begin of Item 0003
37 Format 0
38 srcBegin = 00E0
39 srcEnd = 00FA
40 destBegin = 05D0
41 End of Item 0003
43 Begin of Item 0004
44 Format 1
45 srcBegin = 0080
46 srcEnd = 00A6
47 mappingOffset = 0000
48 Mapping =
49 00C4 FB1F 00C7 00C9 00D1 00D6 00DC 00E1
50 00E0 00E2 00E4 00E3 00E5 00E7 00E9 00E8
51 00EA 00EB 00ED 00EC 00EE 00EF 00F1 00F3
52 00F2 00F4 00F6 00F5 00FA 00F9 00FB 00FC
53 FFFD FFFD FFFD FFFD FFFD FFFD 20AA
54 End of Item 0004
56 Begin of Item 0005
57 Format 1
58 srcBegin = 00C1
59 srcEnd = 00DF
60 mappingOffset = 0027
61 Mapping =
62 201E F89B F89C F89D F89E 05BC FB4B FB35
63 2026 00A0 05B8 05B7 05B5 05B6 05B4 2013
64 2014 201C 201D 2018 2019 FB2A FB2B 05BF
65 05B0 05B2 05B1 05BB 05B9 FFFD 05B3
66 End of Item 0005
68 Begin of Item 0006
69 Format 1
70 srcBegin = 00FB
71 srcEnd = 00FF
72 mappingOffset = 0046
73 Mapping =
74 007D 005D 007B 005B 007C
75 End of Item 0006
77 ========================================================*/
78 /* Offset=0x0000 ItemOfList */
79 0x0007,
80 /*-------------------------------------------------------*/
81 /* Offset=0x0001 offsetToFormatArray */
82 0x0004,
83 /*-------------------------------------------------------*/
84 /* Offset=0x0002 offsetToMapCellArray */
85 0x0006,
86 /*-------------------------------------------------------*/
87 /* Offset=0x0003 offsetToMappingTable */
88 0x001B,
89 /*-------------------------------------------------------*/
90 /* Offset=0x0004 Start of Format Array */
91 /* Total of Format 0 : 0x0004 */
92 /* Total of Format 1 : 0x0003 */
93 /* Total of Format 2 : 0x0000 */
94 /* Total of Format 3 : 0x0000 */
96 0x0000, 0x0111,
97 /*-------------------------------------------------------*/
98 /* Offset=0x0006 Start of MapCell Array */
99 /* 0000 */ 0x0000, 0x007E, 0x0000,
100 /* 0001 */ 0x00A0, 0x00A5, 0x0020,
101 /* 0002 */ 0x00A7, 0x00BF, 0x0027,
102 /* 0003 */ 0x00E0, 0x00FA, 0x05D0,
103 /* 0004 */ 0x0080, 0x00A6, 0x0000,
104 /* 0005 */ 0x00C1, 0x00DF, 0x0027,
105 /* 0006 */ 0x00FB, 0x00FF, 0x0046,
106 /*-------------------------------------------------------*/
107 /* Offset=0x001B Start of MappingTable */
109 /* 0000 */ 0x00C4, 0xFB1F, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1,
110 /* 0008 */ 0x00E0, 0x00E2, 0x00E4, 0x00E3, 0x00E5, 0x00E7, 0x00E9, 0x00E8,
111 /* 0010 */ 0x00EA, 0x00EB, 0x00ED, 0x00EC, 0x00EE, 0x00EF, 0x00F1, 0x00F3,
112 /* 0018 */ 0x00F2, 0x00F4, 0x00F6, 0x00F5, 0x00FA, 0x00F9, 0x00FB, 0x00FC,
113 /* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x20AA, 0x201E,
114 /* 0028 */ 0xF89B, 0xF89C, 0xF89D, 0xF89E, 0x05BC, 0xFB4B, 0xFB35, 0x2026,
115 /* 0030 */ 0x00A0, 0x05B8, 0x05B7, 0x05B5, 0x05B6, 0x05B4, 0x2013, 0x2014,
116 /* 0038 */ 0x201C, 0x201D, 0x2018, 0x2019, 0xFB2A, 0xFB2B, 0x05BF, 0x05B0,
117 /* 0040 */ 0x05B2, 0x05B1, 0x05BB, 0x05B9, 0xFFFD, 0x05B3, 0x007D, 0x005D,
118 /* 0048 */ 0x007B, 0x005B, 0x007C,
119 /* End of table Total Length = 0x0066 * 2 */