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 = 00A4
25 srcEnd = 00AA
26 destBegin = 0905
27 End of Item 0001
29 Begin of Item 0002
30 Format 0
31 srcBegin = 00B3
32 srcEnd = 00CD
33 destBegin = 0915
34 End of Item 0002
36 Begin of Item 0003
37 Format 0
38 srcBegin = 00CF
39 srcEnd = 00D8
40 destBegin = 0930
41 End of Item 0003
43 Begin of Item 0004
44 Format 0
45 srcBegin = 00DA
46 srcEnd = 00DF
47 destBegin = 093E
48 End of Item 0004
50 Begin of Item 0005
51 Format 0
52 srcBegin = 00F1
53 srcEnd = 00FA
54 destBegin = 0966
55 End of Item 0005
57 Begin of Item 0006
58 Format 1
59 srcBegin = 0080
60 srcEnd = 0091
61 mappingOffset = 0000
62 Mapping =
63 00D7 2212 2013 2014 2018 2019 2026 2022
64 00A9 00AE 2122 FFFD FFFD FFFD FFFD FFFD
65 0965 0970
66 End of Item 0006
68 Begin of Item 0007
69 Format 1
70 srcBegin = 00A1
71 srcEnd = 00B2
72 mappingOffset = 0012
73 Mapping =
74 0901 0902 0903 FFFD FFFD FFFD FFFD FFFD
75 FFFD FFFD 090E 090F 0910 090D 0912 0913
76 0914 0911
77 End of Item 0007
79 Begin of Item 0008
80 Format 1
81 srcBegin = 00CE
82 srcEnd = 00EA
83 mappingOffset = 0024
84 Mapping =
85 095F FFFD FFFD FFFD FFFD FFFD FFFD FFFD
86 FFFD FFFD FFFD 200E FFFD FFFD FFFD FFFD
87 FFFD FFFD 0946 0947 0948 0945 094A 094B
88 094C 0949 094D 093C 0964
89 End of Item 0008
91 ========================================================*/
92 /* Offset=0x0000 ItemOfList */
93 0x0009,
94 /*-------------------------------------------------------*/
95 /* Offset=0x0001 offsetToFormatArray */
96 0x0004,
97 /*-------------------------------------------------------*/
98 /* Offset=0x0002 offsetToMapCellArray */
99 0x0007,
100 /*-------------------------------------------------------*/
101 /* Offset=0x0003 offsetToMappingTable */
102 0x0022,
103 /*-------------------------------------------------------*/
104 /* Offset=0x0004 Start of Format Array */
105 /* Total of Format 0 : 0x0006 */
106 /* Total of Format 1 : 0x0003 */
107 /* Total of Format 2 : 0x0000 */
108 /* Total of Format 3 : 0x0000 */
110 0x0000, 0x1100, 0x0001,
111 /*-------------------------------------------------------*/
112 /* Offset=0x0007 Start of MapCell Array */
113 /* 0000 */ 0x0000, 0x007F, 0x0000,
114 /* 0001 */ 0x00A4, 0x00AA, 0x0905,
115 /* 0002 */ 0x00B3, 0x00CD, 0x0915,
116 /* 0003 */ 0x00CF, 0x00D8, 0x0930,
117 /* 0004 */ 0x00DA, 0x00DF, 0x093E,
118 /* 0005 */ 0x00F1, 0x00FA, 0x0966,
119 /* 0006 */ 0x0080, 0x0091, 0x0000,
120 /* 0007 */ 0x00A1, 0x00B2, 0x0012,
121 /* 0008 */ 0x00CE, 0x00EA, 0x0024,
122 /*-------------------------------------------------------*/
123 /* Offset=0x0022 Start of MappingTable */
125 /* 0000 */ 0x00D7, 0x2212, 0x2013, 0x2014, 0x2018, 0x2019, 0x2026, 0x2022,
126 /* 0008 */ 0x00A9, 0x00AE, 0x2122, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
127 /* 0010 */ 0x0965, 0x0970, 0x0901, 0x0902, 0x0903, 0xFFFD, 0xFFFD, 0xFFFD,
128 /* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x090E, 0x090F, 0x0910, 0x090D,
129 /* 0020 */ 0x0912, 0x0913, 0x0914, 0x0911, 0x095F, 0xFFFD, 0xFFFD, 0xFFFD,
130 /* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x200E,
131 /* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0946, 0x0947,
132 /* 0038 */ 0x0948, 0x0945, 0x094A, 0x094B, 0x094C, 0x0949, 0x094D, 0x093C,
133 /* 0040 */ 0x0964,
134 /* End of table Total Length = 0x0063 * 2 */