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 <title>testcase for autocomplete testing</title>
5 <style type="text/css">
6 div {
7 font-size: 4em;
8 }
10 div > span {
11 text-decoration: underline;
12 }
14 div + button {
15 border: 2px dotted red;
16 }
17 </style>
18 </head>
19 <body>
20 <div>parent <span>child</span></div><button>sibling</button>
21 </body>
22 </html>