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 = 009F |
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 1 |
michael@0 | 23 | srcBegin = 00A0 |
michael@0 | 24 | srcEnd = 00FF |
michael@0 | 25 | mappingOffset = 0000 |
michael@0 | 26 | Mapping = |
michael@0 | 27 | 00A0 201D 00A2 00A3 00A4 201E 00A6 00A7 |
michael@0 | 28 | 00D8 00A9 0156 00AB 00AC 00AD 00AE 00C6 |
michael@0 | 29 | 00B0 00B1 00B2 00B3 201C 00B5 00B6 00B7 |
michael@0 | 30 | 00F8 00B9 0157 00BB 00BC 00BD 00BE 00E6 |
michael@0 | 31 | 0104 012E 0100 0106 00C4 00C5 0118 0112 |
michael@0 | 32 | 010C 00C9 0179 0116 0122 0136 012A 013B |
michael@0 | 33 | 0160 0143 0145 00D3 014C 00D5 00D6 00D7 |
michael@0 | 34 | 0172 0141 015A 016A 00DC 017B 017D 00DF |
michael@0 | 35 | 0105 012F 0101 0107 00E4 00E5 0119 0113 |
michael@0 | 36 | 010D 00E9 017A 0117 0123 0137 012B 013C |
michael@0 | 37 | 0161 0144 0146 00F3 014D 00F5 00F6 00F7 |
michael@0 | 38 | 0173 0142 015B 016B 00FC 017C 017E 2019 |
michael@0 | 39 | End of Item 0001 |
michael@0 | 40 | |
michael@0 | 41 | ========================================================*/ |
michael@0 | 42 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 43 | 0x0002, |
michael@0 | 44 | /*-------------------------------------------------------*/ |
michael@0 | 45 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 46 | 0x0004, |
michael@0 | 47 | /*-------------------------------------------------------*/ |
michael@0 | 48 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 49 | 0x0005, |
michael@0 | 50 | /*-------------------------------------------------------*/ |
michael@0 | 51 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 52 | 0x000B, |
michael@0 | 53 | /*-------------------------------------------------------*/ |
michael@0 | 54 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 55 | /* Total of Format 0 : 0x0001 */ |
michael@0 | 56 | /* Total of Format 1 : 0x0001 */ |
michael@0 | 57 | /* Total of Format 2 : 0x0000 */ |
michael@0 | 58 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 59 | |
michael@0 | 60 | 0x0010, |
michael@0 | 61 | /*-------------------------------------------------------*/ |
michael@0 | 62 | /* Offset=0x0005 Start of MapCell Array */ |
michael@0 | 63 | /* 0000 */ 0x0000, 0x009F, 0x0000, |
michael@0 | 64 | /* 0001 */ 0x00A0, 0x00FF, 0x0000, |
michael@0 | 65 | /*-------------------------------------------------------*/ |
michael@0 | 66 | /* Offset=0x000B Start of MappingTable */ |
michael@0 | 67 | |
michael@0 | 68 | /* 0000 */ 0x00A0, 0x201D, 0x00A2, 0x00A3, 0x00A4, 0x201E, 0x00A6, 0x00A7, |
michael@0 | 69 | /* 0008 */ 0x00D8, 0x00A9, 0x0156, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00C6, |
michael@0 | 70 | /* 0010 */ 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x201C, 0x00B5, 0x00B6, 0x00B7, |
michael@0 | 71 | /* 0018 */ 0x00F8, 0x00B9, 0x0157, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00E6, |
michael@0 | 72 | /* 0020 */ 0x0104, 0x012E, 0x0100, 0x0106, 0x00C4, 0x00C5, 0x0118, 0x0112, |
michael@0 | 73 | /* 0028 */ 0x010C, 0x00C9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012A, 0x013B, |
michael@0 | 74 | /* 0030 */ 0x0160, 0x0143, 0x0145, 0x00D3, 0x014C, 0x00D5, 0x00D6, 0x00D7, |
michael@0 | 75 | /* 0038 */ 0x0172, 0x0141, 0x015A, 0x016A, 0x00DC, 0x017B, 0x017D, 0x00DF, |
michael@0 | 76 | /* 0040 */ 0x0105, 0x012F, 0x0101, 0x0107, 0x00E4, 0x00E5, 0x0119, 0x0113, |
michael@0 | 77 | /* 0048 */ 0x010D, 0x00E9, 0x017A, 0x0117, 0x0123, 0x0137, 0x012B, 0x013C, |
michael@0 | 78 | /* 0050 */ 0x0161, 0x0144, 0x0146, 0x00F3, 0x014D, 0x00F5, 0x00F6, 0x00F7, |
michael@0 | 79 | /* 0058 */ 0x0173, 0x0142, 0x015B, 0x016B, 0x00FC, 0x017C, 0x017E, 0x2019, |
michael@0 | 80 | /* End of table Total Length = 0x006B * 2 */ |