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 #one {
6 position:absolute;
7 left:0px; top:0px;
8 width:400px; height:400px;
9 border:2px solid blue;
10 background-color: rgb(160,160,160);
11 opacity:0.8;
12 z-index:1;
13 }
14 #two {
15 position:absolute;
16 top:100px; left:100px;
17 width:200px; height:200px;
18 z-index:0;
19 background-color: rgb(255,0,0);
20 }
21 </style>
22 </head>
23 <body>
24 <div id="two"></div>
25 <div id="one"></div>
26 </body>
27 </html>