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 <bindings xmlns="http://www.mozilla.org/xbl"
3 xmlns:xbl="http://www.mozilla.org/xbl"
4 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5 <binding id="custom"
6 extends="chrome://mozapps/content/extensions/setting.xml#setting-base">
7 <content>
8 <xul:vbox>
9 <xul:hbox class="preferences-alignment">
10 <xul:label anonid="label" class="preferences-title" flex="1" xbl:inherits="xbl:text=title"/>
11 </xul:hbox>
12 <xul:description class="preferences-description" flex="1" xbl:inherits="xbl:text=desc"/>
13 </xul:vbox>
14 <xul:hbox class="preferences-alignment">
15 <xul:label anonid="input" value="Woah!"/>
16 </xul:hbox>
17 </content>
18 </binding>
19 </bindings>