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 = 0020 |
michael@0 | 18 | srcEnd = 007E |
michael@0 | 19 | destBegin = 0020 |
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 = 0A05 |
michael@0 | 25 | srcEnd = 0A0A |
michael@0 | 26 | destBegin = 00A4 |
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 = 0A15 |
michael@0 | 32 | srcEnd = 0A28 |
michael@0 | 33 | destBegin = 00B3 |
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 = 0A2A |
michael@0 | 39 | srcEnd = 0A2F |
michael@0 | 40 | destBegin = 00C8 |
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 = 0A66 |
michael@0 | 46 | srcEnd = 0A6F |
michael@0 | 47 | destBegin = 00F1 |
michael@0 | 48 | End of Item 0004 |
michael@0 | 49 | |
michael@0 | 50 | Begin of Item 0005 |
michael@0 | 51 | Format 1 |
michael@0 | 52 | srcBegin = 00A9 |
michael@0 | 53 | srcEnd = 00AE |
michael@0 | 54 | mappingOffset = 0000 |
michael@0 | 55 | Mapping = |
michael@0 | 56 | 0088 FFFD FFFD FFFD FFFD 0089 |
michael@0 | 57 | End of Item 0005 |
michael@0 | 58 | |
michael@0 | 59 | Begin of Item 0006 |
michael@0 | 60 | Format 2 |
michael@0 | 61 | srcBegin = 00D7 |
michael@0 | 62 | destBegin = 0080 |
michael@0 | 63 | End of Item 0006 |
michael@0 | 64 | |
michael@0 | 65 | Begin of Item 0007 |
michael@0 | 66 | Format 1 |
michael@0 | 67 | srcBegin = 00E8 |
michael@0 | 68 | srcEnd = 00E9 |
michael@0 | 69 | mappingOffset = 0006 |
michael@0 | 70 | Mapping = |
michael@0 | 71 | 00E8 00E8 |
michael@0 | 72 | End of Item 0007 |
michael@0 | 73 | |
michael@0 | 74 | Begin of Item 0008 |
michael@0 | 75 | Format 2 |
michael@0 | 76 | srcBegin = 0964 |
michael@0 | 77 | destBegin = 00EA |
michael@0 | 78 | End of Item 0008 |
michael@0 | 79 | |
michael@0 | 80 | Begin of Item 0009 |
michael@0 | 81 | Format 2 |
michael@0 | 82 | srcBegin = 0A02 |
michael@0 | 83 | destBegin = 00A2 |
michael@0 | 84 | End of Item 0009 |
michael@0 | 85 | |
michael@0 | 86 | Begin of Item 000A |
michael@0 | 87 | Format 1 |
michael@0 | 88 | srcBegin = 0A0F |
michael@0 | 89 | srcEnd = 0A14 |
michael@0 | 90 | mappingOffset = 0008 |
michael@0 | 91 | Mapping = |
michael@0 | 92 | 00AC 00AD FFFD FFFD 00B0 00B1 |
michael@0 | 93 | End of Item 000A |
michael@0 | 94 | |
michael@0 | 95 | Begin of Item 000B |
michael@0 | 96 | Format 1 |
michael@0 | 97 | srcBegin = 0A30 |
michael@0 | 98 | srcEnd = 0A4D |
michael@0 | 99 | mappingOffset = 000E |
michael@0 | 100 | Mapping = |
michael@0 | 101 | 00CF FFFD 00D1 FFFD FFFD 00D4 FFFD FFFD |
michael@0 | 102 | 00D7 00D8 FFFD FFFD 00E9 FFFD 00DA 00DB |
michael@0 | 103 | 00DC 00DD 00DE FFFD FFFD FFFD FFFD 00E1 |
michael@0 | 104 | 00E2 FFFD FFFD 00E5 00E6 00E8 |
michael@0 | 105 | End of Item 000B |
michael@0 | 106 | |
michael@0 | 107 | Begin of Item 000C |
michael@0 | 108 | Format 2 |
michael@0 | 109 | srcBegin = 0A5C |
michael@0 | 110 | destBegin = 0091 |
michael@0 | 111 | End of Item 000C |
michael@0 | 112 | |
michael@0 | 113 | Begin of Item 000D |
michael@0 | 114 | Format 1 |
michael@0 | 115 | srcBegin = 0A71 |
michael@0 | 116 | srcEnd = 0A74 |
michael@0 | 117 | mappingOffset = 002C |
michael@0 | 118 | Mapping = |
michael@0 | 119 | 0090 0093 0092 0094 |
michael@0 | 120 | End of Item 000D |
michael@0 | 121 | |
michael@0 | 122 | Begin of Item 000E |
michael@0 | 123 | Format 1 |
michael@0 | 124 | srcBegin = 200E |
michael@0 | 125 | srcEnd = 2026 |
michael@0 | 126 | mappingOffset = 0030 |
michael@0 | 127 | Mapping = |
michael@0 | 128 | 00D9 FFFD FFFD FFFD FFFD 0082 0083 FFFD |
michael@0 | 129 | FFFD FFFD 0084 0085 FFFD FFFD FFFD FFFD |
michael@0 | 130 | FFFD FFFD FFFD FFFD 0087 FFFD FFFD FFFD |
michael@0 | 131 | 0086 |
michael@0 | 132 | End of Item 000E |
michael@0 | 133 | |
michael@0 | 134 | Begin of Item 000F |
michael@0 | 135 | Format 2 |
michael@0 | 136 | srcBegin = 2122 |
michael@0 | 137 | destBegin = 008A |
michael@0 | 138 | End of Item 000F |
michael@0 | 139 | |
michael@0 | 140 | Begin of Item 0010 |
michael@0 | 141 | Format 2 |
michael@0 | 142 | srcBegin = 2212 |
michael@0 | 143 | destBegin = 0081 |
michael@0 | 144 | End of Item 0010 |
michael@0 | 145 | |
michael@0 | 146 | Begin of Item 0011 |
michael@0 | 147 | Format 2 |
michael@0 | 148 | srcBegin = F860 |
michael@0 | 149 | destBegin = 00D5 |
michael@0 | 150 | End of Item 0011 |
michael@0 | 151 | |
michael@0 | 152 | ========================================================*/ |
michael@0 | 153 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 154 | 0x0012, |
michael@0 | 155 | /*-------------------------------------------------------*/ |
michael@0 | 156 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 157 | 0x0004, |
michael@0 | 158 | /*-------------------------------------------------------*/ |
michael@0 | 159 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 160 | 0x0009, |
michael@0 | 161 | /*-------------------------------------------------------*/ |
michael@0 | 162 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 163 | 0x003F, |
michael@0 | 164 | /*-------------------------------------------------------*/ |
michael@0 | 165 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 166 | /* Total of Format 0 : 0x0005 */ |
michael@0 | 167 | /* Total of Format 1 : 0x0006 */ |
michael@0 | 168 | /* Total of Format 2 : 0x0007 */ |
michael@0 | 169 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 170 | |
michael@0 | 171 | 0x0000, 0x1210, 0x1122, 0x2112, 0x0022, |
michael@0 | 172 | /*-------------------------------------------------------*/ |
michael@0 | 173 | /* Offset=0x0009 Start of MapCell Array */ |
michael@0 | 174 | /* 0000 */ 0x0020, 0x007E, 0x0020, |
michael@0 | 175 | /* 0001 */ 0x0A05, 0x0A0A, 0x00A4, |
michael@0 | 176 | /* 0002 */ 0x0A15, 0x0A28, 0x00B3, |
michael@0 | 177 | /* 0003 */ 0x0A2A, 0x0A2F, 0x00C8, |
michael@0 | 178 | /* 0004 */ 0x0A66, 0x0A6F, 0x00F1, |
michael@0 | 179 | /* 0005 */ 0x00A9, 0x00AE, 0x0000, |
michael@0 | 180 | /* 0006 */ 0x00D7, 0x0000, 0x0080, |
michael@0 | 181 | /* 0007 */ 0x00E8, 0x00E9, 0x0006, |
michael@0 | 182 | /* 0008 */ 0x0964, 0x0000, 0x00EA, |
michael@0 | 183 | /* 0009 */ 0x0A02, 0x0000, 0x00A2, |
michael@0 | 184 | /* 000A */ 0x0A0F, 0x0A14, 0x0008, |
michael@0 | 185 | /* 000B */ 0x0A30, 0x0A4D, 0x000E, |
michael@0 | 186 | /* 000C */ 0x0A5C, 0x0000, 0x0091, |
michael@0 | 187 | /* 000D */ 0x0A71, 0x0A74, 0x002C, |
michael@0 | 188 | /* 000E */ 0x200E, 0x2026, 0x0030, |
michael@0 | 189 | /* 000F */ 0x2122, 0x0000, 0x008A, |
michael@0 | 190 | /* 0010 */ 0x2212, 0x0000, 0x0081, |
michael@0 | 191 | /* 0011 */ 0xF860, 0x0000, 0x00D5, |
michael@0 | 192 | /*-------------------------------------------------------*/ |
michael@0 | 193 | /* Offset=0x003F Start of MappingTable */ |
michael@0 | 194 | |
michael@0 | 195 | /* 0000 */ 0x0088, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0089, 0x00E8, 0x00E8, |
michael@0 | 196 | /* 0008 */ 0x00AC, 0x00AD, 0xFFFD, 0xFFFD, 0x00B0, 0x00B1, 0x00CF, 0xFFFD, |
michael@0 | 197 | /* 0010 */ 0x00D1, 0xFFFD, 0xFFFD, 0x00D4, 0xFFFD, 0xFFFD, 0x00D7, 0x00D8, |
michael@0 | 198 | /* 0018 */ 0xFFFD, 0xFFFD, 0x00E9, 0xFFFD, 0x00DA, 0x00DB, 0x00DC, 0x00DD, |
michael@0 | 199 | /* 0020 */ 0x00DE, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E1, 0x00E2, 0xFFFD, |
michael@0 | 200 | /* 0028 */ 0xFFFD, 0x00E5, 0x00E6, 0x00E8, 0x0090, 0x0093, 0x0092, 0x0094, |
michael@0 | 201 | /* 0030 */ 0x00D9, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0082, 0x0083, 0xFFFD, |
michael@0 | 202 | /* 0038 */ 0xFFFD, 0xFFFD, 0x0084, 0x0085, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 203 | /* 0040 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0087, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 204 | /* 0048 */ 0x0086, |
michael@0 | 205 | /* End of table Total Length = 0x0088 * 2 */ |