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 0 |
michael@0 | 23 | srcBegin = 0401 |
michael@0 | 24 | srcEnd = 040C |
michael@0 | 25 | destBegin = 00A1 |
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 = 040E |
michael@0 | 31 | srcEnd = 044F |
michael@0 | 32 | destBegin = 00AE |
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 = 0451 |
michael@0 | 38 | srcEnd = 045C |
michael@0 | 39 | destBegin = 00F1 |
michael@0 | 40 | End of Item 0003 |
michael@0 | 41 | |
michael@0 | 42 | Begin of Item 0004 |
michael@0 | 43 | Format 1 |
michael@0 | 44 | srcBegin = 00A0 |
michael@0 | 45 | srcEnd = 00AD |
michael@0 | 46 | mappingOffset = 0000 |
michael@0 | 47 | Mapping = |
michael@0 | 48 | 00A0 FFFD FFFD FFFD FFFD FFFD FFFD 00FD |
michael@0 | 49 | FFFD FFFD FFFD FFFD FFFD 00AD |
michael@0 | 50 | End of Item 0004 |
michael@0 | 51 | |
michael@0 | 52 | Begin of Item 0005 |
michael@0 | 53 | Format 1 |
michael@0 | 54 | srcBegin = 045E |
michael@0 | 55 | srcEnd = 045F |
michael@0 | 56 | mappingOffset = 000E |
michael@0 | 57 | Mapping = |
michael@0 | 58 | 00FE 00FF |
michael@0 | 59 | End of Item 0005 |
michael@0 | 60 | |
michael@0 | 61 | Begin of Item 0006 |
michael@0 | 62 | Format 2 |
michael@0 | 63 | srcBegin = 2116 |
michael@0 | 64 | destBegin = 00F0 |
michael@0 | 65 | End of Item 0006 |
michael@0 | 66 | |
michael@0 | 67 | ========================================================*/ |
michael@0 | 68 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 69 | 0x0007, |
michael@0 | 70 | /*-------------------------------------------------------*/ |
michael@0 | 71 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 72 | 0x0004, |
michael@0 | 73 | /*-------------------------------------------------------*/ |
michael@0 | 74 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 75 | 0x0006, |
michael@0 | 76 | /*-------------------------------------------------------*/ |
michael@0 | 77 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 78 | 0x001B, |
michael@0 | 79 | /*-------------------------------------------------------*/ |
michael@0 | 80 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 81 | /* Total of Format 0 : 0x0004 */ |
michael@0 | 82 | /* Total of Format 1 : 0x0002 */ |
michael@0 | 83 | /* Total of Format 2 : 0x0001 */ |
michael@0 | 84 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 85 | |
michael@0 | 86 | 0x0000, 0x0211, |
michael@0 | 87 | /*-------------------------------------------------------*/ |
michael@0 | 88 | /* Offset=0x0006 Start of MapCell Array */ |
michael@0 | 89 | /* 0000 */ 0x0000, 0x009F, 0x0000, |
michael@0 | 90 | /* 0001 */ 0x0401, 0x040C, 0x00A1, |
michael@0 | 91 | /* 0002 */ 0x040E, 0x044F, 0x00AE, |
michael@0 | 92 | /* 0003 */ 0x0451, 0x045C, 0x00F1, |
michael@0 | 93 | /* 0004 */ 0x00A0, 0x00AD, 0x0000, |
michael@0 | 94 | /* 0005 */ 0x045E, 0x045F, 0x000E, |
michael@0 | 95 | /* 0006 */ 0x2116, 0x0000, 0x00F0, |
michael@0 | 96 | /*-------------------------------------------------------*/ |
michael@0 | 97 | /* Offset=0x001B Start of MappingTable */ |
michael@0 | 98 | |
michael@0 | 99 | /* 0000 */ 0x00A0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00FD, |
michael@0 | 100 | /* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00AD, 0x00FE, 0x00FF, |
michael@0 | 101 | /* End of table Total Length = 0x002B * 2 */ |