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 'DeviceStorage.h',
9 'DeviceStorageFileDescriptor.h',
10 'nsDeviceStorage.h',
11 ]
13 EXPORTS.mozilla.dom.devicestorage += [
14 'DeviceStorageRequestChild.h',
15 'DeviceStorageRequestParent.h',
16 ]
18 UNIFIED_SOURCES += [
19 'DeviceStorageRequestChild.cpp',
20 'DeviceStorageRequestParent.cpp',
21 'nsDeviceStorage.cpp',
22 ]
24 IPDL_SOURCES += [
25 'PDeviceStorageRequest.ipdl',
26 ]
28 FAIL_ON_WARNINGS = True
30 include('/ipc/chromium/chromium-config.mozbuild')
32 FINAL_LIBRARY = 'gklayout'
33 LOCAL_INCLUDES += [
34 '/content/base/src',
35 '/dom/base',
36 '/dom/ipc',
37 ]
39 MOCHITEST_MANIFESTS += [
40 'ipc/mochitest.ini',
41 'test/mochitest.ini',
42 ]
43 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']