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 fromu. |
michael@0 | 9 | If you have any problem of this file. Please contact |
michael@0 | 10 | Netscape Client International Team or |
michael@0 | 11 | ftang@netscape <Frank Tang> |
michael@0 | 12 | |
michael@0 | 13 | Table in Debug form |
michael@0 | 14 | Begin of Item 0000 |
michael@0 | 15 | Format 0 |
michael@0 | 16 | srcBegin = 0000 |
michael@0 | 17 | srcEnd = 007F |
michael@0 | 18 | destBegin = 0000 |
michael@0 | 19 | End of Item 0000 |
michael@0 | 20 | |
michael@0 | 21 | Begin of Item 0001 |
michael@0 | 22 | Format 0 |
michael@0 | 23 | srcBegin = 00AB |
michael@0 | 24 | srcEnd = 00B9 |
michael@0 | 25 | destBegin = 00AB |
michael@0 | 26 | End of Item 0001 |
michael@0 | 27 | |
michael@0 | 28 | Begin of Item 0002 |
michael@0 | 29 | Format 0 |
michael@0 | 30 | srcBegin = 05B0 |
michael@0 | 31 | srcEnd = 05B9 |
michael@0 | 32 | destBegin = 00C0 |
michael@0 | 33 | End of Item 0002 |
michael@0 | 34 | |
michael@0 | 35 | Begin of Item 0003 |
michael@0 | 36 | Format 0 |
michael@0 | 37 | srcBegin = 05BB |
michael@0 | 38 | srcEnd = 05C3 |
michael@0 | 39 | destBegin = 00CB |
michael@0 | 40 | End of Item 0003 |
michael@0 | 41 | |
michael@0 | 42 | Begin of Item 0004 |
michael@0 | 43 | Format 0 |
michael@0 | 44 | srcBegin = 05D0 |
michael@0 | 45 | srcEnd = 05EA |
michael@0 | 46 | destBegin = 00E0 |
michael@0 | 47 | End of Item 0004 |
michael@0 | 48 | |
michael@0 | 49 | Begin of Item 0005 |
michael@0 | 50 | Format 1 |
michael@0 | 51 | srcBegin = 00A0 |
michael@0 | 52 | srcEnd = 00A9 |
michael@0 | 53 | mappingOffset = 0000 |
michael@0 | 54 | Mapping = |
michael@0 | 55 | 00A0 00A1 00A2 00A3 FFFD 00A5 00A6 00A7 |
michael@0 | 56 | 00A8 00A9 |
michael@0 | 57 | End of Item 0005 |
michael@0 | 58 | |
michael@0 | 59 | Begin of Item 0006 |
michael@0 | 60 | Format 1 |
michael@0 | 61 | srcBegin = 00BB |
michael@0 | 62 | srcEnd = 00BF |
michael@0 | 63 | mappingOffset = 000A |
michael@0 | 64 | Mapping = |
michael@0 | 65 | 00BB 00BC 00BD 00BE 00BF |
michael@0 | 66 | End of Item 0006 |
michael@0 | 67 | |
michael@0 | 68 | Begin of Item 0007 |
michael@0 | 69 | Format 2 |
michael@0 | 70 | srcBegin = 00D7 |
michael@0 | 71 | destBegin = 00AA |
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 = 00F7 |
michael@0 | 77 | destBegin = 00BA |
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 = 0192 |
michael@0 | 83 | destBegin = 0083 |
michael@0 | 84 | End of Item 0009 |
michael@0 | 85 | |
michael@0 | 86 | Begin of Item 000A |
michael@0 | 87 | Format 2 |
michael@0 | 88 | srcBegin = 02C6 |
michael@0 | 89 | destBegin = 0088 |
michael@0 | 90 | End of Item 000A |
michael@0 | 91 | |
michael@0 | 92 | Begin of Item 000B |
michael@0 | 93 | Format 2 |
michael@0 | 94 | srcBegin = 02DC |
michael@0 | 95 | destBegin = 0098 |
michael@0 | 96 | End of Item 000B |
michael@0 | 97 | |
michael@0 | 98 | Begin of Item 000C |
michael@0 | 99 | Format 1 |
michael@0 | 100 | srcBegin = 05F0 |
michael@0 | 101 | srcEnd = 05F4 |
michael@0 | 102 | mappingOffset = 000F |
michael@0 | 103 | Mapping = |
michael@0 | 104 | 00D4 00D5 00D6 00D7 00D8 |
michael@0 | 105 | End of Item 000C |
michael@0 | 106 | |
michael@0 | 107 | Begin of Item 000D |
michael@0 | 108 | Format 1 |
michael@0 | 109 | srcBegin = 200E |
michael@0 | 110 | srcEnd = 203A |
michael@0 | 111 | mappingOffset = 0014 |
michael@0 | 112 | Mapping = |
michael@0 | 113 | 00FD 00FE FFFD FFFD FFFD 0096 0097 FFFD |
michael@0 | 114 | FFFD FFFD 0091 0092 0082 FFFD 0093 0094 |
michael@0 | 115 | 0084 FFFD 0086 0087 0095 FFFD FFFD FFFD |
michael@0 | 116 | 0085 FFFD FFFD FFFD FFFD FFFD FFFD FFFD |
michael@0 | 117 | FFFD FFFD 0089 FFFD FFFD FFFD FFFD FFFD |
michael@0 | 118 | FFFD FFFD FFFD 008B 009B |
michael@0 | 119 | End of Item 000D |
michael@0 | 120 | |
michael@0 | 121 | Begin of Item 000E |
michael@0 | 122 | Format 1 |
michael@0 | 123 | srcBegin = 20AA |
michael@0 | 124 | srcEnd = 20AC |
michael@0 | 125 | mappingOffset = 0041 |
michael@0 | 126 | Mapping = |
michael@0 | 127 | 00A4 FFFD 0080 |
michael@0 | 128 | End of Item 000E |
michael@0 | 129 | |
michael@0 | 130 | Begin of Item 000F |
michael@0 | 131 | Format 2 |
michael@0 | 132 | srcBegin = 2122 |
michael@0 | 133 | destBegin = 0099 |
michael@0 | 134 | End of Item 000F |
michael@0 | 135 | |
michael@0 | 136 | ========================================================*/ |
michael@0 | 137 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 138 | 0x0010, |
michael@0 | 139 | /*-------------------------------------------------------*/ |
michael@0 | 140 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 141 | 0x0004, |
michael@0 | 142 | /*-------------------------------------------------------*/ |
michael@0 | 143 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 144 | 0x0009, |
michael@0 | 145 | /*-------------------------------------------------------*/ |
michael@0 | 146 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 147 | 0x0039, |
michael@0 | 148 | /*-------------------------------------------------------*/ |
michael@0 | 149 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 150 | /* Total of Format 0 : 0x0005 */ |
michael@0 | 151 | /* Total of Format 1 : 0x0005 */ |
michael@0 | 152 | /* Total of Format 2 : 0x0006 */ |
michael@0 | 153 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 154 | |
michael@0 | 155 | 0x0000, 0x2110, 0x2222, 0x2111, 0x0000, |
michael@0 | 156 | /*-------------------------------------------------------*/ |
michael@0 | 157 | /* Offset=0x0009 Start of MapCell Array */ |
michael@0 | 158 | /* 0000 */ 0x0000, 0x007F, 0x0000, |
michael@0 | 159 | /* 0001 */ 0x00AB, 0x00B9, 0x00AB, |
michael@0 | 160 | /* 0002 */ 0x05B0, 0x05B9, 0x00C0, |
michael@0 | 161 | /* 0003 */ 0x05BB, 0x05C3, 0x00CB, |
michael@0 | 162 | /* 0004 */ 0x05D0, 0x05EA, 0x00E0, |
michael@0 | 163 | /* 0005 */ 0x00A0, 0x00A9, 0x0000, |
michael@0 | 164 | /* 0006 */ 0x00BB, 0x00BF, 0x000A, |
michael@0 | 165 | /* 0007 */ 0x00D7, 0x0000, 0x00AA, |
michael@0 | 166 | /* 0008 */ 0x00F7, 0x0000, 0x00BA, |
michael@0 | 167 | /* 0009 */ 0x0192, 0x0000, 0x0083, |
michael@0 | 168 | /* 000A */ 0x02C6, 0x0000, 0x0088, |
michael@0 | 169 | /* 000B */ 0x02DC, 0x0000, 0x0098, |
michael@0 | 170 | /* 000C */ 0x05F0, 0x05F4, 0x000F, |
michael@0 | 171 | /* 000D */ 0x200E, 0x203A, 0x0014, |
michael@0 | 172 | /* 000E */ 0x20AA, 0x20AC, 0x0041, |
michael@0 | 173 | /* 000F */ 0x2122, 0x0000, 0x0099, |
michael@0 | 174 | /*-------------------------------------------------------*/ |
michael@0 | 175 | /* Offset=0x0039 Start of MappingTable */ |
michael@0 | 176 | |
michael@0 | 177 | /* 0000 */ 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0xFFFD, 0x00A5, 0x00A6, 0x00A7, |
michael@0 | 178 | /* 0008 */ 0x00A8, 0x00A9, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, 0x00D4, |
michael@0 | 179 | /* 0010 */ 0x00D5, 0x00D6, 0x00D7, 0x00D8, 0x00FD, 0x00FE, 0xFFFD, 0xFFFD, |
michael@0 | 180 | /* 0018 */ 0xFFFD, 0x0096, 0x0097, 0xFFFD, 0xFFFD, 0xFFFD, 0x0091, 0x0092, |
michael@0 | 181 | /* 0020 */ 0x0082, 0xFFFD, 0x0093, 0x0094, 0x0084, 0xFFFD, 0x0086, 0x0087, |
michael@0 | 182 | /* 0028 */ 0x0095, 0xFFFD, 0xFFFD, 0xFFFD, 0x0085, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 183 | /* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0089, 0xFFFD, |
michael@0 | 184 | /* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x008B, |
michael@0 | 185 | /* 0040 */ 0x009B, 0x00A4, 0xFFFD, 0x0080, |
michael@0 | 186 | /* End of table Total Length = 0x007D * 2 */ |