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 #inline-block {
6 display: inline-block;
7 margin: 10px 0;
8 background-color: green;
9 }
10 #block {
11 margin: 10px 0;
12 background-color: lightgreen;
13 }
14 </style>
15 </head>
16 <body>
17 <div id="inline-block"><span id="block">Hello Kitty</span></div>
18 </body>
19 </html>