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 <xht:table xmlns:xht="http://www.w3.org/1999/xhtml"
2 xmlns:xbl="http://www.mozilla.org/xbl">
3 <xht:script type="text/javascript">// <![CDATA[
4 function boom() {
5 var topRight = document.getElementById('topRight');
6 topRight.appendChild(document.createElement("g"));
7 }
8 //]]> </xht:script>
10 <xbl:bindings>
11 <xbl:binding>
12 <svg xmlns="http://www.w3.org/2000/svg"
13 xmlns:xlink="http://www.w3.org/1999/xlink"
14 onload="setTimeout(boom, 0)">
15 <defs>
16 <g id="markerGroup">
17 <g id="topLeft"/>
18 <g id="topRight"/>
19 <set xlink:href="#topLeft" attributeName="fill" to="green" dur="1s"/>
20 </g>
21 </defs>
22 <use xlink:href="#markerGroup"/>
23 </svg>
24 </xbl:binding>
25 </xbl:bindings>
26 </xht:table>