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 <meta charset=windows-1251>
5 <title>Page with non-default charset</title>
6 <script>
7 function run() {
8 document.forms[0].submit();
9 }
10 </script>
11 </head>
12 <body onload="run();">
13 <form method=post action="http://example.org/tests/content/html/document/test/file_bug871161-2.html"></form>
14 </body>
15 </html>