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 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
2 <hbox datasources="nosuch.rdf" ref="urn:root">
3 <template>
4 <rule>
5 <conditions>
6 <triple subject="?a"/>
7 </conditions>
8 <action>
9 <vbox uri="?b"/>
10 </action>
11 </rule>
12 </template>
13 </hbox>
14 </window>