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><head>
3 <title>stretched image artifacts (test)</title>
4 <style>
5 div {
6 height: 5px;
7 background-image: url("data:image/gif;base64,R0lGODdhAQACAPABAAD/AP///ywAAAAAAQACAAACAkQKADs=");
8 background-repeat: repeat-x;
9 }
10 </style>
11 </head><body>
12 <div style="width: 540px">
13 </div><div style="width: 541px">
14 </div><div style="width: 542px">
15 </div><div style="width: 543px">
16 </div><div style="width: 544px">
17 </div><div style="width: 545px">
18 </div><div style="width: 546px">
19 </div><div style="width: 547px">
20 </div><div style="width: 548px">
21 </div><div style="width: 549px">
22 </div><div style="width: 550px">
23 </div><div style="width: 551px">
24 </div><div style="width: 552px">
25 </div><div style="width: 553px">
26 </div><div style="width: 554px">
27 </div><div style="width: 555px">
28 </div><div style="width: 556px">
29 </div><div style="width: 557px">
30 </div><div style="width: 558px">
31 </div><div style="width: 559px">
32 </div></body></html>