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 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5 <script>
7 function rM(q1) { q1.parentNode.removeChild(q1); }
9 function init2()
10 {
11 rM(document.getElementById("t"));
12 }
14 window.addEventListener("load", init2, false);
16 </script>
18 <foo id="t" datasources="1.rdf" />
20 </window>