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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html>
3 <head>
4 <title>Testcase bug 281743</title>
5 <style type="text/css">
6 #header { position: fixed; top: 0; left: 0; z-index: 100; }
7 #mainmenu { position: fixed; top: 0; left: 0; z-index: 200; }
8 </style>
9 <script type="text/javascript">
10 window.onload = function(e) {
11 var e = document.getElementsByTagName("style")[0];
12 e.disabled = true;
13 e.disabled = false;
14 }
15 </script>
16 </head><body><div id="page"><div id="header"></div><div id="mainmenu"></div></div></body></html>