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 = 00A3
24 srcEnd = 00A9
25 destBegin = 00A3
26 End of Item 0001
28 Begin of Item 0002
29 Format 0
30 srcBegin = 00BE
31 srcEnd = 00D1
32 destBegin = 038E
33 End of Item 0002
35 Begin of Item 0003
36 Format 0
37 srcBegin = 00D3
38 srcEnd = 00FE
39 destBegin = 03A3
40 End of Item 0003
42 Begin of Item 0004
43 Format 1
44 srcBegin = 0080
45 srcEnd = 00BD
46 mappingOffset = 0000
47 Mapping =
48 20AC FFFD 201A 0192 201E 2026 2020 2021
49 FFFD 2030 FFFD 2039 FFFD FFFD FFFD FFFD
50 FFFD 2018 2019 201C 201D 2022 2013 2014
51 FFFD 2122 FFFD 203A FFFD FFFD FFFD FFFD
52 00A0 0385 0386 FFFD FFFD FFFD FFFD FFFD
53 FFFD FFFD FFFD 00AB 00AC 00AD 00AE 2015
54 00B0 00B1 00B2 00B3 0384 00B5 00B6 00B7
55 0388 0389 038A 00BB 038C 00BD
56 End of Item 0004
58 ========================================================*/
59 /* Offset=0x0000 ItemOfList */
60 0x0005,
61 /*-------------------------------------------------------*/
62 /* Offset=0x0001 offsetToFormatArray */
63 0x0004,
64 /*-------------------------------------------------------*/
65 /* Offset=0x0002 offsetToMapCellArray */
66 0x0006,
67 /*-------------------------------------------------------*/
68 /* Offset=0x0003 offsetToMappingTable */
69 0x0015,
70 /*-------------------------------------------------------*/
71 /* Offset=0x0004 Start of Format Array */
72 /* Total of Format 0 : 0x0004 */
73 /* Total of Format 1 : 0x0001 */
74 /* Total of Format 2 : 0x0000 */
75 /* Total of Format 3 : 0x0000 */
77 0x0000, 0x0001,
78 /*-------------------------------------------------------*/
79 /* Offset=0x0006 Start of MapCell Array */
80 /* 0000 */ 0x0000, 0x007F, 0x0000,
81 /* 0001 */ 0x00A3, 0x00A9, 0x00A3,
82 /* 0002 */ 0x00BE, 0x00D1, 0x038E,
83 /* 0003 */ 0x00D3, 0x00FE, 0x03A3,
84 /* 0004 */ 0x0080, 0x00BD, 0x0000,
85 /*-------------------------------------------------------*/
86 /* Offset=0x0015 Start of MappingTable */
88 /* 0000 */ 0x20AC, 0xFFFD, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021,
89 /* 0008 */ 0xFFFD, 0x2030, 0xFFFD, 0x2039, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
90 /* 0010 */ 0xFFFD, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
91 /* 0018 */ 0xFFFD, 0x2122, 0xFFFD, 0x203A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
92 /* 0020 */ 0x00A0, 0x0385, 0x0386, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
93 /* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x2015,
94 /* 0030 */ 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x0384, 0x00B5, 0x00B6, 0x00B7,
95 /* 0038 */ 0x0388, 0x0389, 0x038A, 0x00BB, 0x038C, 0x00BD,
96 /* End of table Total Length = 0x0053 * 2 */