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 = 0080
25 srcEnd = 00AF
26 destBegin = 0410
27 End of Item 0001
29 Begin of Item 0002
30 Format 0
31 srcBegin = 00E0
32 srcEnd = 00EF
33 destBegin = 0440
34 End of Item 0002
36 Begin of Item 0003
37 Format 1
38 srcBegin = 00B0
39 srcEnd = 00DF
40 mappingOffset = 0000
41 Mapping =
42 2591 2592 2593 2502 2524 2561 2562 2556
43 2555 2563 2551 2557 255D 255C 255B 2510
44 2514 2534 252C 251C 2500 253C 255E 255F
45 255A 2554 2569 2566 2560 2550 256C 2567
46 2568 2564 2565 2559 2558 2552 2553 256B
47 256A 2518 250C 2588 2584 258C 2590 2580
48 End of Item 0003
50 Begin of Item 0004
51 Format 1
52 srcBegin = 00F0
53 srcEnd = 00FF
54 mappingOffset = 0030
55 Mapping =
56 0401 0451 0404 0454 0407 0457 040E 045E
57 0406 0456 00B7 00A4 0490 0491 2219 00A0
58 End of Item 0004
60 ========================================================*/
61 /* Offset=0x0000 ItemOfList */
62 0x0005,
63 /*-------------------------------------------------------*/
64 /* Offset=0x0001 offsetToFormatArray */
65 0x0004,
66 /*-------------------------------------------------------*/
67 /* Offset=0x0002 offsetToMapCellArray */
68 0x0006,
69 /*-------------------------------------------------------*/
70 /* Offset=0x0003 offsetToMappingTable */
71 0x0015,
72 /*-------------------------------------------------------*/
73 /* Offset=0x0004 Start of Format Array */
74 /* Total of Format 0 : 0x0003 */
75 /* Total of Format 1 : 0x0002 */
76 /* Total of Format 2 : 0x0000 */
77 /* Total of Format 3 : 0x0000 */
79 0x1000, 0x0001,
80 /*-------------------------------------------------------*/
81 /* Offset=0x0006 Start of MapCell Array */
82 /* 0000 */ 0x0000, 0x007F, 0x0000,
83 /* 0001 */ 0x0080, 0x00AF, 0x0410,
84 /* 0002 */ 0x00E0, 0x00EF, 0x0440,
85 /* 0003 */ 0x00B0, 0x00DF, 0x0000,
86 /* 0004 */ 0x00F0, 0x00FF, 0x0030,
87 /*-------------------------------------------------------*/
88 /* Offset=0x0015 Start of MappingTable */
90 /* 0000 */ 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556,
91 /* 0008 */ 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510,
92 /* 0010 */ 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F,
93 /* 0018 */ 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567,
94 /* 0020 */ 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B,
95 /* 0028 */ 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580,
96 /* 0030 */ 0x0401, 0x0451, 0x0404, 0x0454, 0x0407, 0x0457, 0x040E, 0x045E,
97 /* 0038 */ 0x0406, 0x0456, 0x00B7, 0x00A4, 0x0490, 0x0491, 0x2219, 0x00A0,
98 /* End of table Total Length = 0x0055 * 2 */