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 <html>
3 <head>
4 <style type="text/css">
5 html, body {
6 margin: 0; padding: 0;
7 }
8 html {
9 background-color: white;
10 margin: 10px 0;
11 }
12 body {
13 background-color: red;
14 margin: 20px 0;
15 }
16 div {
17 background-color: green;
18 margin: 40px 0;
19 height: 100px;
20 }
21 </style>
22 </head>
23 <body>
24 <div></div>
25 </body>
26 </html>