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.
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8 'mozzconf.h',
9 'zconf.h',
10 'zlib.h',
11 ]
13 LIBRARY_NAME = 'mozz'
15 SOURCES += [
16 'adler32.c',
17 'compress.c',
18 'crc32.c',
19 'deflate.c',
20 'gzclose.c',
21 'gzlib.c',
22 'gzread.c',
23 'gzwrite.c',
24 'infback.c',
25 'inffast.c',
26 'inflate.c',
27 'inftrees.c',
28 'trees.c',
29 'uncompr.c',
30 'zutil.c',
31 ]
33 if CONFIG['ZLIB_IN_MOZGLUE']:
34 DEFINES['IMPL_MFBT'] = True