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 DIRS += ['ipc']
8 TEST_DIRS += ['test']
10 XPIDL_SOURCES += [
11 'nsIIndexedDatabaseManager.idl',
12 ]
14 XPIDL_MODULE = 'dom_indexeddb'
16 EXPORTS.mozilla.dom.indexedDB += [
17 'Client.h',
18 'DatabaseInfo.h',
19 'FileInfo.h',
20 'FileManager.h',
21 'IDBCursor.h',
22 'IDBDatabase.h',
23 'IDBEvents.h',
24 'IDBFactory.h',
25 'IDBFileHandle.h',
26 'IDBIndex.h',
27 'IDBKeyRange.h',
28 'IDBObjectStore.h',
29 'IDBRequest.h',
30 'IDBTransaction.h',
31 'IDBWrapperCache.h',
32 'IndexedDatabase.h',
33 'IndexedDatabaseManager.h',
34 'Key.h',
35 'KeyPath.h',
36 ]
38 UNIFIED_SOURCES += [
39 'AsyncConnectionHelper.cpp',
40 'CheckPermissionsHelper.cpp',
41 'Client.cpp',
42 'DatabaseInfo.cpp',
43 'FileInfo.cpp',
44 'FileManager.cpp',
45 'IDBDatabase.cpp',
46 'IDBEvents.cpp',
47 'IDBFactory.cpp',
48 'IDBFileHandle.cpp',
49 'IDBKeyRange.cpp',
50 'IDBRequest.cpp',
51 'IDBTransaction.cpp',
52 'IDBWrapperCache.cpp',
53 'IndexedDatabaseManager.cpp',
54 'Key.cpp',
55 'KeyPath.cpp',
56 'OpenDatabaseHelper.cpp',
57 'TransactionThreadPool.cpp',
58 ]
60 # These files cannot be built in unified mode because of name collisions
61 SOURCES += [
62 'IDBCursor.cpp',
63 'IDBIndex.cpp',
64 'IDBObjectStore.cpp',
65 'ReportInternalError.cpp',
66 ]
68 FAIL_ON_WARNINGS = True
70 include('/ipc/chromium/chromium-config.mozbuild')
72 FINAL_LIBRARY = 'gklayout'
73 LOCAL_INCLUDES += [
74 '/caps/include',
75 '/content/base/src',
76 '/db/sqlite3/src',
77 '/dom/base',
78 '/dom/quota',
79 '/dom/src/storage',
80 '/xpcom/build',
81 ]