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.
michael@0 | 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | /*======================================================== |
michael@0 | 6 | This is a Generated file. Please don't edit it. |
michael@0 | 7 | |
michael@0 | 8 | The tool which used to generate this file is called umaptable. |
michael@0 | 9 | You can find this tool under mozilla/intl/uconv/tools/umaptable.c. |
michael@0 | 10 | If you have any problem of this file. Please contact |
michael@0 | 11 | Netscape Client International Team or |
michael@0 | 12 | ftang@netscape <Frank Tang> |
michael@0 | 13 | |
michael@0 | 14 | Table in Debug form |
michael@0 | 15 | Begin of Item 0000 |
michael@0 | 16 | Format 0 |
michael@0 | 17 | srcBegin = 0000 |
michael@0 | 18 | srcEnd = 007F |
michael@0 | 19 | destBegin = 0000 |
michael@0 | 20 | End of Item 0000 |
michael@0 | 21 | |
michael@0 | 22 | Begin of Item 0001 |
michael@0 | 23 | Format 0 |
michael@0 | 24 | srcBegin = 00A0 |
michael@0 | 25 | srcEnd = 00C2 |
michael@0 | 26 | destBegin = 00A0 |
michael@0 | 27 | End of Item 0001 |
michael@0 | 28 | |
michael@0 | 29 | Begin of Item 0002 |
michael@0 | 30 | Format 0 |
michael@0 | 31 | srcBegin = 00C4 |
michael@0 | 32 | srcEnd = 00CB |
michael@0 | 33 | destBegin = 00C4 |
michael@0 | 34 | End of Item 0002 |
michael@0 | 35 | |
michael@0 | 36 | Begin of Item 0003 |
michael@0 | 37 | Format 0 |
michael@0 | 38 | srcBegin = 00D6 |
michael@0 | 39 | srcEnd = 00DC |
michael@0 | 40 | destBegin = 00D6 |
michael@0 | 41 | End of Item 0003 |
michael@0 | 42 | |
michael@0 | 43 | Begin of Item 0004 |
michael@0 | 44 | Format 0 |
michael@0 | 45 | srcBegin = 00E4 |
michael@0 | 46 | srcEnd = 00EB |
michael@0 | 47 | destBegin = 00E4 |
michael@0 | 48 | End of Item 0004 |
michael@0 | 49 | |
michael@0 | 50 | Begin of Item 0005 |
michael@0 | 51 | Format 0 |
michael@0 | 52 | srcBegin = 00F6 |
michael@0 | 53 | srcEnd = 00FC |
michael@0 | 54 | destBegin = 00F6 |
michael@0 | 55 | End of Item 0005 |
michael@0 | 56 | |
michael@0 | 57 | Begin of Item 0006 |
michael@0 | 58 | Format 1 |
michael@0 | 59 | srcBegin = 0080 |
michael@0 | 60 | srcEnd = 009F |
michael@0 | 61 | mappingOffset = 0000 |
michael@0 | 62 | Mapping = |
michael@0 | 63 | 20AC FFFD 201A 0192 201E 2026 2020 2021 |
michael@0 | 64 | 02C6 2030 FFFD 2039 0152 FFFD FFFD FFFD |
michael@0 | 65 | FFFD 2018 2019 201C 201D 2022 2013 2014 |
michael@0 | 66 | 02DC 2122 FFFD 203A 0153 FFFD FFFD 0178 |
michael@0 | 67 | End of Item 0006 |
michael@0 | 68 | |
michael@0 | 69 | Begin of Item 0007 |
michael@0 | 70 | Format 1 |
michael@0 | 71 | srcBegin = 00C3 |
michael@0 | 72 | srcEnd = 00FF |
michael@0 | 73 | mappingOffset = 0020 |
michael@0 | 74 | Mapping = |
michael@0 | 75 | 0102 FFFD FFFD FFFD FFFD FFFD FFFD FFFD |
michael@0 | 76 | FFFD 0300 00CD 00CE 00CF 0110 00D1 0309 |
michael@0 | 77 | 00D3 00D4 01A0 FFFD FFFD FFFD FFFD FFFD |
michael@0 | 78 | FFFD FFFD 01AF 0303 00DF 00E0 00E1 00E2 |
michael@0 | 79 | 0103 FFFD FFFD FFFD FFFD FFFD FFFD FFFD |
michael@0 | 80 | FFFD 0301 00ED 00EE 00EF 0111 00F1 0323 |
michael@0 | 81 | 00F3 00F4 01A1 FFFD FFFD FFFD FFFD FFFD |
michael@0 | 82 | FFFD FFFD 01B0 20AB 00FF |
michael@0 | 83 | End of Item 0007 |
michael@0 | 84 | |
michael@0 | 85 | ========================================================*/ |
michael@0 | 86 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 87 | 0x0008, |
michael@0 | 88 | /*-------------------------------------------------------*/ |
michael@0 | 89 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 90 | 0x0004, |
michael@0 | 91 | /*-------------------------------------------------------*/ |
michael@0 | 92 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 93 | 0x0007, |
michael@0 | 94 | /*-------------------------------------------------------*/ |
michael@0 | 95 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 96 | 0x001F, |
michael@0 | 97 | /*-------------------------------------------------------*/ |
michael@0 | 98 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 99 | /* Total of Format 0 : 0x0006 */ |
michael@0 | 100 | /* Total of Format 1 : 0x0002 */ |
michael@0 | 101 | /* Total of Format 2 : 0x0000 */ |
michael@0 | 102 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 103 | |
michael@0 | 104 | 0x0000, 0x1100, 0x0000, |
michael@0 | 105 | /*-------------------------------------------------------*/ |
michael@0 | 106 | /* Offset=0x0007 Start of MapCell Array */ |
michael@0 | 107 | /* 0000 */ 0x0000, 0x007F, 0x0000, |
michael@0 | 108 | /* 0001 */ 0x00A0, 0x00C2, 0x00A0, |
michael@0 | 109 | /* 0002 */ 0x00C4, 0x00CB, 0x00C4, |
michael@0 | 110 | /* 0003 */ 0x00D6, 0x00DC, 0x00D6, |
michael@0 | 111 | /* 0004 */ 0x00E4, 0x00EB, 0x00E4, |
michael@0 | 112 | /* 0005 */ 0x00F6, 0x00FC, 0x00F6, |
michael@0 | 113 | /* 0006 */ 0x0080, 0x009F, 0x0000, |
michael@0 | 114 | /* 0007 */ 0x00C3, 0x00FF, 0x0020, |
michael@0 | 115 | /*-------------------------------------------------------*/ |
michael@0 | 116 | /* Offset=0x001F Start of MappingTable */ |
michael@0 | 117 | |
michael@0 | 118 | /* 0000 */ 0x20AC, 0xFFFD, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
michael@0 | 119 | /* 0008 */ 0x02C6, 0x2030, 0xFFFD, 0x2039, 0x0152, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 120 | /* 0010 */ 0xFFFD, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
michael@0 | 121 | /* 0018 */ 0x02DC, 0x2122, 0xFFFD, 0x203A, 0x0153, 0xFFFD, 0xFFFD, 0x0178, |
michael@0 | 122 | /* 0020 */ 0x0102, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 123 | /* 0028 */ 0xFFFD, 0x0300, 0x00CD, 0x00CE, 0x00CF, 0x0110, 0x00D1, 0x0309, |
michael@0 | 124 | /* 0030 */ 0x00D3, 0x00D4, 0x01A0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 125 | /* 0038 */ 0xFFFD, 0xFFFD, 0x01AF, 0x0303, 0x00DF, 0x00E0, 0x00E1, 0x00E2, |
michael@0 | 126 | /* 0040 */ 0x0103, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 127 | /* 0048 */ 0xFFFD, 0x0301, 0x00ED, 0x00EE, 0x00EF, 0x0111, 0x00F1, 0x0323, |
michael@0 | 128 | /* 0050 */ 0x00F3, 0x00F4, 0x01A1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 129 | /* 0058 */ 0xFFFD, 0xFFFD, 0x01B0, 0x20AB, 0x00FF, |
michael@0 | 130 | /* End of table Total Length = 0x007C * 2 */ |