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 = 009F
18 destBegin = 0000
19 End of Item 0000
21 Begin of Item 0001
22 Format 0
23 srcBegin = 00A1
24 srcEnd = 00AC
25 destBegin = 0401
26 End of Item 0001
28 Begin of Item 0002
29 Format 0
30 srcBegin = 00AE
31 srcEnd = 00EF
32 destBegin = 040E
33 End of Item 0002
35 Begin of Item 0003
36 Format 0
37 srcBegin = 00F1
38 srcEnd = 00FC
39 destBegin = 0451
40 End of Item 0003
42 Begin of Item 0004
43 Format 2
44 srcBegin = 00A0
45 destBegin = 00A0
46 End of Item 0004
48 Begin of Item 0005
49 Format 2
50 srcBegin = 00AD
51 destBegin = 00AD
52 End of Item 0005
54 Begin of Item 0006
55 Format 2
56 srcBegin = 00F0
57 destBegin = 2116
58 End of Item 0006
60 Begin of Item 0007
61 Format 1
62 srcBegin = 00FD
63 srcEnd = 00FF
64 mappingOffset = 0000
65 Mapping =
66 00A7 045E 045F
67 End of Item 0007
69 ========================================================*/
70 /* Offset=0x0000 ItemOfList */
71 0x0008,
72 /*-------------------------------------------------------*/
73 /* Offset=0x0001 offsetToFormatArray */
74 0x0004,
75 /*-------------------------------------------------------*/
76 /* Offset=0x0002 offsetToMapCellArray */
77 0x0007,
78 /*-------------------------------------------------------*/
79 /* Offset=0x0003 offsetToMappingTable */
80 0x001F,
81 /*-------------------------------------------------------*/
82 /* Offset=0x0004 Start of Format Array */
83 /* Total of Format 0 : 0x0004 */
84 /* Total of Format 1 : 0x0001 */
85 /* Total of Format 2 : 0x0003 */
86 /* Total of Format 3 : 0x0000 */
88 0x0000, 0x1222, 0x0000,
89 /*-------------------------------------------------------*/
90 /* Offset=0x0007 Start of MapCell Array */
91 /* 0000 */ 0x0000, 0x009F, 0x0000,
92 /* 0001 */ 0x00A1, 0x00AC, 0x0401,
93 /* 0002 */ 0x00AE, 0x00EF, 0x040E,
94 /* 0003 */ 0x00F1, 0x00FC, 0x0451,
95 /* 0004 */ 0x00A0, 0x0000, 0x00A0,
96 /* 0005 */ 0x00AD, 0x0000, 0x00AD,
97 /* 0006 */ 0x00F0, 0x0000, 0x2116,
98 /* 0007 */ 0x00FD, 0x00FF, 0x0000,
99 /*-------------------------------------------------------*/
100 /* Offset=0x001F Start of MappingTable */
102 /* 0000 */ 0x00A7, 0x045E, 0x045F,
103 /* End of table Total Length = 0x0022 * 2 */