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