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 <!DOCTYPE html>
2 <style>
3 .x { width: 200px; height: 100px; display: inline-block; }
4 .a { background: linear-gradient(to bottom, blue, white, red); }
5 .e { background: linear-gradient(to bottom left, blue, white, red); }
6 .g { background: linear-gradient(to left, blue, white, red); }
7 .i { background: linear-gradient(to top left, blue, white, red); }
8 .k { background: linear-gradient(to top, blue, white, red); }
9 .m { background: linear-gradient(to top right, blue, white, red); }
10 .o { background: linear-gradient(to right, blue, white, red); }
11 .q { background: linear-gradient(to bottom right, blue, white, red); }
12 </style>
13 <div class="x a"></div>
14 <div class="x e"></div>
15 <div class="x g"></div>
16 <div class="x i"></div>
17 <div class="x k"></div>
18 <div class="x m"></div>
19 <div class="x o"></div>
20 <div class="x q"></div>