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 = 00C0 |
michael@0 | 24 | srcEnd = 00FF |
michael@0 | 25 | destBegin = 0410 |
michael@0 | 26 | End of Item 0001 |
michael@0 | 27 | |
michael@0 | 28 | Begin of Item 0002 |
michael@0 | 29 | Format 1 |
michael@0 | 30 | srcBegin = 0080 |
michael@0 | 31 | srcEnd = 00BF |
michael@0 | 32 | mappingOffset = 0000 |
michael@0 | 33 | Mapping = |
michael@0 | 34 | 0402 0403 201A 0453 201E 2026 2020 2021 |
michael@0 | 35 | 20AC 2030 0409 2039 040A 040C 040B 040F |
michael@0 | 36 | 0452 2018 2019 201C 201D 2022 2013 2014 |
michael@0 | 37 | FFFD 2122 0459 203A 045A 045C 045B 045F |
michael@0 | 38 | 00A0 040E 045E 0408 00A4 0490 00A6 00A7 |
michael@0 | 39 | 0401 00A9 0404 00AB 00AC 00AD 00AE 0407 |
michael@0 | 40 | 00B0 00B1 0406 0456 0491 00B5 00B6 00B7 |
michael@0 | 41 | 0451 2116 0454 00BB 0458 0405 0455 0457 |
michael@0 | 42 | End of Item 0002 |
michael@0 | 43 | |
michael@0 | 44 | ========================================================*/ |
michael@0 | 45 | /* Offset=0x0000 ItemOfList */ |
michael@0 | 46 | 0x0003, |
michael@0 | 47 | /*-------------------------------------------------------*/ |
michael@0 | 48 | /* Offset=0x0001 offsetToFormatArray */ |
michael@0 | 49 | 0x0004, |
michael@0 | 50 | /*-------------------------------------------------------*/ |
michael@0 | 51 | /* Offset=0x0002 offsetToMapCellArray */ |
michael@0 | 52 | 0x0005, |
michael@0 | 53 | /*-------------------------------------------------------*/ |
michael@0 | 54 | /* Offset=0x0003 offsetToMappingTable */ |
michael@0 | 55 | 0x000E, |
michael@0 | 56 | /*-------------------------------------------------------*/ |
michael@0 | 57 | /* Offset=0x0004 Start of Format Array */ |
michael@0 | 58 | /* Total of Format 0 : 0x0002 */ |
michael@0 | 59 | /* Total of Format 1 : 0x0001 */ |
michael@0 | 60 | /* Total of Format 2 : 0x0000 */ |
michael@0 | 61 | /* Total of Format 3 : 0x0000 */ |
michael@0 | 62 | |
michael@0 | 63 | 0x0100, |
michael@0 | 64 | /*-------------------------------------------------------*/ |
michael@0 | 65 | /* Offset=0x0005 Start of MapCell Array */ |
michael@0 | 66 | /* 0000 */ 0x0000, 0x007F, 0x0000, |
michael@0 | 67 | /* 0001 */ 0x00C0, 0x00FF, 0x0410, |
michael@0 | 68 | /* 0002 */ 0x0080, 0x00BF, 0x0000, |
michael@0 | 69 | /*-------------------------------------------------------*/ |
michael@0 | 70 | /* Offset=0x000E Start of MappingTable */ |
michael@0 | 71 | |
michael@0 | 72 | /* 0000 */ 0x0402, 0x0403, 0x201A, 0x0453, 0x201E, 0x2026, 0x2020, 0x2021, |
michael@0 | 73 | /* 0008 */ 0x20AC, 0x2030, 0x0409, 0x2039, 0x040A, 0x040C, 0x040B, 0x040F, |
michael@0 | 74 | /* 0010 */ 0x0452, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
michael@0 | 75 | /* 0018 */ 0xFFFD, 0x2122, 0x0459, 0x203A, 0x045A, 0x045C, 0x045B, 0x045F, |
michael@0 | 76 | /* 0020 */ 0x00A0, 0x040E, 0x045E, 0x0408, 0x00A4, 0x0490, 0x00A6, 0x00A7, |
michael@0 | 77 | /* 0028 */ 0x0401, 0x00A9, 0x0404, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x0407, |
michael@0 | 78 | /* 0030 */ 0x00B0, 0x00B1, 0x0406, 0x0456, 0x0491, 0x00B5, 0x00B6, 0x00B7, |
michael@0 | 79 | /* 0038 */ 0x0451, 0x2116, 0x0454, 0x00BB, 0x0458, 0x0405, 0x0455, 0x0457, |
michael@0 | 80 | /* End of table Total Length = 0x004E * 2 */ |