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"?>
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <?xml-stylesheet href="chrome://global/skin/"?>
8 <?xml-stylesheet href="chrome://mozapps/skin/extensions/blocklist.css"?>
9 <?xml-stylesheet href="chrome://mozapps/content/extensions/blocklist.css"?>
11 <!DOCTYPE dialog [
12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
13 %brandDTD;
14 <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/blocklist.dtd">
15 %extensionsDTD;
16 ]>
18 <dialog windowtype="Addons:Blocklist" title="&blocklist.title;" align="stretch"
19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
20 onload="init();" ondialogaccept="return finish(true)"
21 ondialogcancel="return finish(false)"
22 buttons="accept,cancel" style="&blocklist.style;"
23 buttonlabelaccept="&blocklist.accept.label;"
24 buttonaccesskeyaccept="&blocklist.accept.accesskey;">
26 <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
27 <script type="application/javascript" src="chrome://mozapps/content/extensions/blocklist.js"/>
29 <hbox align="stretch" flex="1">
30 <vbox pack="start">
31 <image class="error-icon"/>
32 </vbox>
33 <vbox flex="1">
34 <label>&blocklist.summary;</label>
35 <separator class="thin"/>
36 <richlistbox id="addonList" flex="1"/>
37 <separator class="thin"/>
38 <description id="bothMessage" hidden="true" class="bold">&blocklist.softandhard;</description>
39 <description id="hardBlockMessage" hidden="true" class="bold">&blocklist.hardblocked;</description>
40 <description id="softBlockMessage" hidden="true" class="bold">&blocklist.softblocked;</description>
41 <hbox pack="start">
42 <label id="moreInfo" class="text-link" value="&blocklist.moreinfo;"/>
43 </hbox>
44 </vbox>
45 </hbox>
46 </dialog>