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 <meta charset="utf-8">
5 <style type="text/css">
6 #container {
7 position: fixed;
8 top: 0;
9 bottom: 0;
10 width: 100%;
11 height: 100%;
12 background: blue;
13 }
15 #test {
16 width: 400px;
17 height: 400px;
18 position: absolute;
19 }
20 </style>
21 </head>
22 <body>
23 <div id="container"></div>
24 </body>
25 </html>