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 }
11 body {
12 background-color: red;
13 margin: 20px 0;
14 }
15 div {
16 background-color: green;
17 margin: 10px 0;
18 height: 100px;
19 }
20 </style>
21 </head>
22 <body>
23 <div></div>
24 </body>
25 </html>