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 # -*- makefile -*-
2 #
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 file,
5 # You can obtain one at http://mozilla.org/MPL/2.0/.
6 #
8 export STANDALONE_MAKEFILE=1
9 PYTHON ?= python
10 PYTEST = $(PYTHON) -E
12 # python -B not supported by older interpreters
13 export PYTHONDONTWRITEBYTECODE=1
15 include $(topsrcdir)/config/rules.mk
17 autotgt_tests = .deps/autotargets.mk.ts
19 tgts =\
20 .deps/.mkdir.done\
21 $(autotgt_tests)
22 $(NULL)
24 export MAKE
25 export .PYMAKE
27 ##------------------_##
28 ##---] TARGETS [---##
29 ##------------------_##
30 all::
32 check:: $(tgts)
34 # Only run unit test when autotargets.mk is modified
35 $(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk
36 $(PYTEST) $(srcdir)/check_mkdir.tpy
37 @$(TOUCH) $@