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 reftest-async-scroll
3 reftest-displayport-x="0" reftest-displayport-y="0"
4 reftest-displayport-w="800" reftest-displayport-h="2000"
5 reftest-async-scroll-x="0" reftest-async-scroll-y="50">
6 <body style="background:red; margin:0; overflow:hidden">
7 <div style="position:absolute; background:lime; top:50px; left:0; width:800px; height:1000px"></div>
8 <div style="position:absolute; background:yellow; bottom:-50px; left:50px; width:50px; height:50px"></div>
9 </body>
10 </html>