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 class="reftest-wait">
3 <link rel='stylesheet' type='text/css' href='style.css'>
4 <script>
5 function onloadHandler()
6 {
7 var fieldsets = document.getElementsByTagName('fieldset');
8 fieldsets[0].disabled = false;
9 document.documentElement.className='';
10 }
11 </script>
12 <body onload="onloadHandler();">
13 <fieldset disabled class="enabled">
14 <fieldset class="enabled">
15 <select class="enabled"></select>
16 </fieldset>
17 </fieldset>
18 </body>
19 </html>