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://mozapps/content/xpinstall/xpinstallConfirm.css" type="text/css"?>
8 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
9 <?xml-stylesheet href="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css" type="text/css"?>
11 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd">
13 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 id="xpinstallConfirm" title="&dialog.title;" style="&dialog.style;"
15 windowtype="Addons:Install"
16 onload="XPInstallConfirm.init()"
17 ondialogaccept="return XPInstallConfirm.onOK();"
18 ondialogcancel="return XPInstallConfirm.onCancel();">
20 <script src="chrome://mozapps/content/xpinstall/xpinstallConfirm.js" type="application/javascript"/>
22 <stringbundle id="xpinstallConfirmStrings"
23 src="chrome://mozapps/locale/xpinstall/xpinstallConfirm.properties"/>
25 <vbox flex="1" id="dialogContentBox">
26 <hbox id="xpinstallheader" align="start">
27 <image class="alert-icon"/>
28 <vbox flex="1">
29 <description class="warning">&warningPrimary.label;</description>
30 <description>&warningSecondary.label;</description>
31 </vbox>
32 </hbox>
33 <label id="itemWarningIntro"/>
34 <vbox id="itemList" class="listbox" flex="1" style="overflow: auto;"/>
35 </vbox>
37 </dialog>