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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <bindings id="groupboxBindings"
8 xmlns="http://www.mozilla.org/xbl"
9 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
10 xmlns:xbl="http://www.mozilla.org/xbl">
12 <binding id="groupbox-base">
13 <resources>
14 <stylesheet src="chrome://global/skin/groupbox.css"/>
15 </resources>
16 </binding>
18 <binding id="groupbox" role="xul:groupbox"
19 extends="chrome://global/content/bindings/groupbox.xml#groupbox-base">
20 <content>
21 <xul:hbox class="groupbox-title" align="center" pack="start">
22 <children includes="caption"/>
23 </xul:hbox>
24 <xul:box flex="1" class="groupbox-body" xbl:inherits="orient,align,pack">
25 <children/>
26 </xul:box>
27 </content>
28 </binding>
30 <binding id="caption" extends="chrome://global/content/bindings/general.xml#basetext">
31 <resources>
32 <stylesheet src="chrome://global/skin/groupbox.css"/>
33 </resources>
35 <content>
36 <children>
37 <xul:image class="caption-icon" xbl:inherits="src=image"/>
38 <xul:label class="caption-text" flex="1"
39 xbl:inherits="default,value=label,crop,accesskey"/>
40 </children>
41 </content>
42 </binding>
44 </bindings>