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.
michael@0 | 1 | #T commandline: ['-j2'] |
michael@0 | 2 | |
michael@0 | 3 | # ensure that calling python commands doesn't block other targets |
michael@0 | 4 | ifndef SLEEP |
michael@0 | 5 | SLEEP := sleep |
michael@0 | 6 | endif |
michael@0 | 7 | |
michael@0 | 8 | PRINTF = printf "$@:0:" >>results |
michael@0 | 9 | EXPECTED = target2:0:target1:0: |
michael@0 | 10 | |
michael@0 | 11 | all:: target1 target2 |
michael@0 | 12 | cat results |
michael@0 | 13 | test "$$(cat results)" = "$(EXPECTED)" |
michael@0 | 14 | @echo TEST-PASS |
michael@0 | 15 | |
michael@0 | 16 | target1: |
michael@0 | 17 | $(SLEEP) 0.1 |
michael@0 | 18 | $(PRINTF) |
michael@0 | 19 | |
michael@0 | 20 | target2: |
michael@0 | 21 | $(PRINTF) |