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 <body>
4 <!-- Test that element content scrolls asynchronously -->
5 <div style="width:400px; height:500px; overflow:hidden; border:2px solid black"
6 reftest-displayport-x="0" reftest-displayport-y="0"
7 reftest-displayport-w="800" reftest-displayport-h="2000"
8 reftest-async-scroll-x="0" reftest-async-scroll-y="50">
9 <div style="height:500px"></div>
10 <div style="height:100px; background:purple"></div>
11 </div>
12 </html>