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 #T gmake skip
3 # Test that we handle \\\n properly
5 all: dep1 dep2 dep3
6 cat testfile
7 test `cat testfile` = "data";
8 test "$$(cat results)" = "$(EXPECTED)";
9 @echo TEST-PASS
11 # Test that something that still needs to go to the shell works
12 testfile:
13 printf "data" \
14 >>$@
16 dep1: testfile
18 # Test that something that does not need to go to the shell works
19 dep2:
20 $(echo foo) \
21 $(echo bar)
23 export EXPECTED := some data
25 CMD = %pycmd writeenvtofile
26 PYCOMMANDPATH = $(TESTPATH)
28 dep3:
29 $(CMD) \
30 results EXPECTED