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 0104 02D8 0141 00A4 013D 015A 00A7 |
michael@0 | 28 | 00A8 0160 015E 0164 0179 00AD 017D 017B |
michael@0 | 29 | 00B0 0105 02DB 0142 00B4 013E 015B 02C7 |
michael@0 | 30 | 00B8 0161 015F 0165 017A 02DD 017E 017C |
michael@0 | 31 | 0154 00C1 00C2 0102 00C4 0139 0106 00C7 |
michael@0 | 32 | 010C 00C9 0118 00CB 011A 00CD 00CE 010E |
michael@0 | 33 | 0110 0143 0147 00D3 00D4 0150 00D6 00D7 |
michael@0 | 34 | 0158 016E 00DA 0170 00DC 00DD 0162 00DF |
michael@0 | 35 | 0155 00E1 00E2 0103 00E4 013A 0107 00E7 |
michael@0 | 36 | 010D 00E9 0119 00EB 011B 00ED 00EE 010F |
michael@0 | 37 | 0111 0144 0148 00F3 00F4 0151 00F6 00F7 |
michael@0 | 38 | 0159 016F 00FA 0171 00FC 00FD 0163 02D9 |
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, 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, |
michael@0 | 69 | /* 0008 */ 0x00A8, 0x0160, 0x015E, 0x0164, 0x0179, 0x00AD, 0x017D, 0x017B, |
michael@0 | 70 | /* 0010 */ 0x00B0, 0x0105, 0x02DB, 0x0142, 0x00B4, 0x013E, 0x015B, 0x02C7, |
michael@0 | 71 | /* 0018 */ 0x00B8, 0x0161, 0x015F, 0x0165, 0x017A, 0x02DD, 0x017E, 0x017C, |
michael@0 | 72 | /* 0020 */ 0x0154, 0x00C1, 0x00C2, 0x0102, 0x00C4, 0x0139, 0x0106, 0x00C7, |
michael@0 | 73 | /* 0028 */ 0x010C, 0x00C9, 0x0118, 0x00CB, 0x011A, 0x00CD, 0x00CE, 0x010E, |
michael@0 | 74 | /* 0030 */ 0x0110, 0x0143, 0x0147, 0x00D3, 0x00D4, 0x0150, 0x00D6, 0x00D7, |
michael@0 | 75 | /* 0038 */ 0x0158, 0x016E, 0x00DA, 0x0170, 0x00DC, 0x00DD, 0x0162, 0x00DF, |
michael@0 | 76 | /* 0040 */ 0x0155, 0x00E1, 0x00E2, 0x0103, 0x00E4, 0x013A, 0x0107, 0x00E7, |
michael@0 | 77 | /* 0048 */ 0x010D, 0x00E9, 0x0119, 0x00EB, 0x011B, 0x00ED, 0x00EE, 0x010F, |
michael@0 | 78 | /* 0050 */ 0x0111, 0x0144, 0x0148, 0x00F3, 0x00F4, 0x0151, 0x00F6, 0x00F7, |
michael@0 | 79 | /* 0058 */ 0x0159, 0x016F, 0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9, |
michael@0 | 80 | /* End of table Total Length = 0x006B * 2 */ |