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 <body style="width: 0">
4 <span style="border: 2px solid blue; border-right: none"></span>
5 <span style="display: block"></span>
6 <span style="border: 2px solid blue; border-left: none; border-right: none">
7 a b
8 </span>
9 <span style="display: block"></span>
10 <span style="border: 2px solid blue; border-left: none;">
11 c
12 </span>
13 </body>
14 </html>