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 #float1, #float2 {
6 width: 100px;
7 height: 20px;
8 background-color: green;
9 margin-left: auto;
10 }
11 #spacer {
12 height: 30px;
13 }
14 </style>
15 </head>
16 <body>
17 <div id="container">
18 <div id="float1"></div>
19 <div id="spacer"></div>
20 <div id="float2"></div>
21 </div>
22 </body>
23 </html>