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 <svg xmlns="http://www.w3.org/2000/svg"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
4 onload="boom();">
6 <script type="text/javascript">
8 function boom()
9 {
10 document.getElementById("b").style.position = "absolute";
11 document.getElementById("a").style.color = "green";
12 }
14 </script>
16 <defs>
17 <g id="a"><xul:listbox/></g>
18 </defs>
20 <g id="b"><use xlink:href="#a"/></g>
22 </svg>