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 = 00B0
24 srcEnd = 00B7
25 destBegin = 00B0
26 End of Item 0001
28 Begin of Item 0002
29 Format 1
30 srcBegin = 0080
31 srcEnd = 00FF
32 mappingOffset = 0000
33 Mapping =
34 20AC FFFD 201A FFFD 201E 2026 2020 2021
35 FFFD 2030 FFFD 2039 FFFD 00A8 02C7 00B8
36 FFFD 2018 2019 201C 201D 2022 2013 2014
37 FFFD 2122 FFFD 203A FFFD 00AF 02DB FFFD
38 00A0 FFFD 00A2 00A3 00A4 FFFD 00A6 00A7
39 00D8 00A9 0156 00AB 00AC 00AD 00AE 00C6
40 FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
41 00F8 00B9 0157 00BB 00BC 00BD 00BE 00E6
42 0104 012E 0100 0106 00C4 00C5 0118 0112
43 010C 00C9 0179 0116 0122 0136 012A 013B
44 0160 0143 0145 00D3 014C 00D5 00D6 00D7
45 0172 0141 015A 016A 00DC 017B 017D 00DF
46 0105 012F 0101 0107 00E4 00E5 0119 0113
47 010D 00E9 017A 0117 0123 0137 012B 013C
48 0161 0144 0146 00F3 014D 00F5 00F6 00F7
49 0173 0142 015B 016B 00FC 017C 017E 02D9
50 End of Item 0002
52 ========================================================*/
53 /* Offset=0x0000 ItemOfList */
54 0x0003,
55 /*-------------------------------------------------------*/
56 /* Offset=0x0001 offsetToFormatArray */
57 0x0004,
58 /*-------------------------------------------------------*/
59 /* Offset=0x0002 offsetToMapCellArray */
60 0x0005,
61 /*-------------------------------------------------------*/
62 /* Offset=0x0003 offsetToMappingTable */
63 0x000E,
64 /*-------------------------------------------------------*/
65 /* Offset=0x0004 Start of Format Array */
66 /* Total of Format 0 : 0x0002 */
67 /* Total of Format 1 : 0x0001 */
68 /* Total of Format 2 : 0x0000 */
69 /* Total of Format 3 : 0x0000 */
71 0x0100,
72 /*-------------------------------------------------------*/
73 /* Offset=0x0005 Start of MapCell Array */
74 /* 0000 */ 0x0000, 0x007F, 0x0000,
75 /* 0001 */ 0x00B0, 0x00B7, 0x00B0,
76 /* 0002 */ 0x0080, 0x00FF, 0x0000,
77 /*-------------------------------------------------------*/
78 /* Offset=0x000E Start of MappingTable */
80 /* 0000 */ 0x20AC, 0xFFFD, 0x201A, 0xFFFD, 0x201E, 0x2026, 0x2020, 0x2021,
81 /* 0008 */ 0xFFFD, 0x2030, 0xFFFD, 0x2039, 0xFFFD, 0x00A8, 0x02C7, 0x00B8,
82 /* 0010 */ 0xFFFD, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
83 /* 0018 */ 0xFFFD, 0x2122, 0xFFFD, 0x203A, 0xFFFD, 0x00AF, 0x02DB, 0xFFFD,
84 /* 0020 */ 0x00A0, 0xFFFD, 0x00A2, 0x00A3, 0x00A4, 0xFFFD, 0x00A6, 0x00A7,
85 /* 0028 */ 0x00D8, 0x00A9, 0x0156, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00C6,
86 /* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
87 /* 0038 */ 0x00F8, 0x00B9, 0x0157, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00E6,
88 /* 0040 */ 0x0104, 0x012E, 0x0100, 0x0106, 0x00C4, 0x00C5, 0x0118, 0x0112,
89 /* 0048 */ 0x010C, 0x00C9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012A, 0x013B,
90 /* 0050 */ 0x0160, 0x0143, 0x0145, 0x00D3, 0x014C, 0x00D5, 0x00D6, 0x00D7,
91 /* 0058 */ 0x0172, 0x0141, 0x015A, 0x016A, 0x00DC, 0x017B, 0x017D, 0x00DF,
92 /* 0060 */ 0x0105, 0x012F, 0x0101, 0x0107, 0x00E4, 0x00E5, 0x0119, 0x0113,
93 /* 0068 */ 0x010D, 0x00E9, 0x017A, 0x0117, 0x0123, 0x0137, 0x012B, 0x013C,
94 /* 0070 */ 0x0161, 0x0144, 0x0146, 0x00F3, 0x014D, 0x00F5, 0x00F6, 0x00F7,
95 /* 0078 */ 0x0173, 0x0142, 0x015B, 0x016B, 0x00FC, 0x017C, 0x017E, 0x02D9,
96 /* End of table Total Length = 0x008E * 2 */