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.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <?xml-stylesheet href="chrome://global/skin" type="text/css"?> |
michael@0 | 3 | <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 4 | |
michael@0 | 5 | <foo id="foo" datasources="330012-1.rdf" ref="urn:root"> |
michael@0 | 6 | <template> |
michael@0 | 7 | <rule> |
michael@0 | 8 | <conditions> |
michael@0 | 9 | <content uri="?root"/> |
michael@0 | 10 | <triple subject="?root" |
michael@0 | 11 | predicate="urn:squarefree:a1:grapes" |
michael@0 | 12 | object="?lalala"/> |
michael@0 | 13 | <member container="?grapes" child="?grape"/> |
michael@0 | 14 | </conditions> |
michael@0 | 15 | <action> |
michael@0 | 16 | <bar uri="?grape"/> |
michael@0 | 17 | </action> |
michael@0 | 18 | </rule> |
michael@0 | 19 | </template> |
michael@0 | 20 | </foo> |
michael@0 | 21 | |
michael@0 | 22 | </window> |