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 dir="ltr" xml:lang="en-US" lang="en-US"><head>
3 <meta charset="utf-8">
4 <title>Console test replaced API</title>
5 </head>
6 <body>
7 <h1 id="header">Web Console Replace API Test</h1>
8 <script type="text/javascript">
9 window.console = {log: function (msg){}, info: function (msg){}, warn: function (msg){}, error: function (msg){}};
10 </script>
11 </body>
12 </html>