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 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | /*======================================================== |
michael@0 | 5 | This is a Generated file. Please don't edit it. |
michael@0 | 6 | |
michael@0 | 7 | The tool which used to generate this file is called umaptable. |
michael@0 | 8 | You can find this tool under mozilla/intl/uconv/tools/umaptable.c. |
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 = 00A4 |
michael@0 | 24 | srcEnd = 00AA |
michael@0 | 25 | destBegin = 0391 |
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 = 00CF |
michael@0 | 31 | srcEnd = 00D5 |
michael@0 | 32 | destBegin = 03A3 |
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 = 00E0 |
michael@0 | 38 | srcEnd = 00EB |
michael@0 | 39 | destBegin = 03B6 |
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 = 0080 |
michael@0 | 45 | srcEnd = 00DF |
michael@0 | 46 | mappingOffset = 0000 |
michael@0 | 47 | Mapping = |
michael@0 | 48 | 007F 007F 007F 007F 007F 007F 0386 20AC |
michael@0 | 49 | 00B7 00AC 00A6 2018 2019 0388 2015 0389 |
michael@0 | 50 | 038A 03AA 038C 038C 038C 038E 03AB 00A9 |
michael@0 | 51 | 038F 00B2 00B3 03AC 00A3 03AD 03AE 03AF |
michael@0 | 52 | 03CA 0390 03CC 03CD FFFD FFFD FFFD FFFD |
michael@0 | 53 | FFFD FFFD FFFD 00BD 0398 0399 00AB 00BB |
michael@0 | 54 | 2591 2592 2593 2502 2524 039A 039B 039C |
michael@0 | 55 | 039D 2563 2551 2557 255D 039E 039F 2510 |
michael@0 | 56 | 2514 2534 252C 251C 2500 253C 03A0 03A1 |
michael@0 | 57 | 255A 2554 2569 2566 2560 2550 256C FFFD |
michael@0 | 58 | FFFD FFFD FFFD FFFD FFFD FFFD 03B1 03B2 |
michael@0 | 59 | 03B3 2518 250C 2588 2584 03B4 03B5 2580 |
michael@0 | 60 | End of Item 0004 |
michael@0 | 61 | |
michael@0 | 62 | Begin of Item 0005 |
michael@0 | 63 | Format 1 |
michael@0 | 64 | srcBegin = 00EC |
michael@0 | 65 | srcEnd = 00FF |
michael@0 | 66 | mappingOffset = 0060 |
michael@0 | 67 | Mapping = |
michael@0 | 68 | 03C3 03C2 03C4 0384 00AD 00B1 03C5 03C6 |
michael@0 | 69 | 03C7 00A7 03C8 0385 00B0 00A8 03C9 03CB |
michael@0 | 70 | 03B0 03CE 25A0 00A0 |
michael@0 | 71 | End of Item 0005 |
michael@0 | 72 | |
michael@0 | 73 | ========================================================*/ |
michael@0 | 74 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 75 | 0x0006, |
michael@0 | 76 | /*-------------------------------------------------------*/ |
michael@0 | 77 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 78 | 0x0004, |
michael@0 | 79 | /*-------------------------------------------------------*/ |
michael@0 | 80 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 81 | 0x0006, |
michael@0 | 82 | /*-------------------------------------------------------*/ |
michael@0 | 83 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 84 | 0x0018, |
michael@0 | 85 | /*-------------------------------------------------------*/ |
michael@0 | 86 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 87 | /* Total of Format 0 : 0x0004 */ |
michael@0 | 88 | /* Total of Format 1 : 0x0002 */ |
michael@0 | 89 | /* Total of Format 2 : 0x0000 */ |
michael@0 | 90 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 91 | |
michael@0 | 92 | 0x0000, 0x0011, |
michael@0 | 93 | /*-------------------------------------------------------*/ |
michael@0 | 94 | /* Offset=0x0006 Start of MapCell Array */ |
michael@0 | 95 | /* 0000 */ 0x0000, 0x007F, 0x0000, |
michael@0 | 96 | /* 0001 */ 0x00A4, 0x00AA, 0x0391, |
michael@0 | 97 | /* 0002 */ 0x00CF, 0x00D5, 0x03A3, |
michael@0 | 98 | /* 0003 */ 0x00E0, 0x00EB, 0x03B6, |
michael@0 | 99 | /* 0004 */ 0x0080, 0x00DF, 0x0000, |
michael@0 | 100 | /* 0005 */ 0x00EC, 0x00FF, 0x0060, |
michael@0 | 101 | /*-------------------------------------------------------*/ |
michael@0 | 102 | /* Offset=0x0018 Start of MappingTable */ |
michael@0 | 103 | |
michael@0 | 104 | /* 0000 */ 0x007F, 0x007F, 0x007F, 0x007F, 0x007F, 0x007F, 0x0386, 0x20AC, |
michael@0 | 105 | /* 0008 */ 0x00B7, 0x00AC, 0x00A6, 0x2018, 0x2019, 0x0388, 0x2015, 0x0389, |
michael@0 | 106 | /* 0010 */ 0x038A, 0x03AA, 0x038C, 0x038C, 0x038C, 0x038E, 0x03AB, 0x00A9, |
michael@0 | 107 | /* 0018 */ 0x038F, 0x00B2, 0x00B3, 0x03AC, 0x00A3, 0x03AD, 0x03AE, 0x03AF, |
michael@0 | 108 | /* 0020 */ 0x03CA, 0x0390, 0x03CC, 0x03CD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, |
michael@0 | 109 | /* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00BD, 0x0398, 0x0399, 0x00AB, 0x00BB, |
michael@0 | 110 | /* 0030 */ 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x039A, 0x039B, 0x039C, |
michael@0 | 111 | /* 0038 */ 0x039D, 0x2563, 0x2551, 0x2557, 0x255D, 0x039E, 0x039F, 0x2510, |
michael@0 | 112 | /* 0040 */ 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x03A0, 0x03A1, |
michael@0 | 113 | /* 0048 */ 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0xFFFD, |
michael@0 | 114 | /* 0050 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x03B1, 0x03B2, |
michael@0 | 115 | /* 0058 */ 0x03B3, 0x2518, 0x250C, 0x2588, 0x2584, 0x03B4, 0x03B5, 0x2580, |
michael@0 | 116 | /* 0060 */ 0x03C3, 0x03C2, 0x03C4, 0x0384, 0x00AD, 0x00B1, 0x03C5, 0x03C6, |
michael@0 | 117 | /* 0068 */ 0x03C7, 0x00A7, 0x03C8, 0x0385, 0x00B0, 0x00A8, 0x03C9, 0x03CB, |
michael@0 | 118 | /* 0070 */ 0x03B0, 0x03CE, 0x25A0, 0x00A0, |
michael@0 | 119 | /* End of table Total Length = 0x008C * 2 */ |