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 <script type="text/javascript">
4 function done()
5 {
6 document.documentElement.className = "";
7 }
8 function move()
9 {
10 elem = document.getElementById("moving");
11 elem.addEventListener("transitionend", done, true);
12 elem.style.position = "relative";
13 elem.style.top = 0;
14 }
15 </script>
16 <body style="background: url('bwinton.jpg'); background-attachment: fixed" onload="move()">
17 <div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s; padding: 2px;">blah blah blah</div>
18 </body>
19 </html>