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 <root>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <style type="text/css">
5 root, html, body {
6 display: block;
7 margin: 0; padding: 0;
8 }
9 root {
10 margin: 10px 0;
11 }
12 html {
13 background-color: lightgreen;
14 margin: 20px 0;
15 }
16 body {
17 background-color: green;
18 margin: 40px 0;
19 height: 100px;
20 }
21 </style>
22 </head>
23 <body>
24 </body>
25 </html>
26 </root>