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 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://mozapps/content/xpinstall/xpinstallConfirm.css" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css" type="text/css"?> |
michael@0 | 10 | |
michael@0 | 11 | <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd"> |
michael@0 | 12 | |
michael@0 | 13 | <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 14 | id="xpinstallConfirm" title="&dialog.title;" style="&dialog.style;" |
michael@0 | 15 | windowtype="Addons:Install" |
michael@0 | 16 | onload="XPInstallConfirm.init()" |
michael@0 | 17 | ondialogaccept="return XPInstallConfirm.onOK();" |
michael@0 | 18 | ondialogcancel="return XPInstallConfirm.onCancel();"> |
michael@0 | 19 | |
michael@0 | 20 | <script src="chrome://mozapps/content/xpinstall/xpinstallConfirm.js" type="application/javascript"/> |
michael@0 | 21 | |
michael@0 | 22 | <stringbundle id="xpinstallConfirmStrings" |
michael@0 | 23 | src="chrome://mozapps/locale/xpinstall/xpinstallConfirm.properties"/> |
michael@0 | 24 | |
michael@0 | 25 | <vbox flex="1" id="dialogContentBox"> |
michael@0 | 26 | <hbox id="xpinstallheader" align="start"> |
michael@0 | 27 | <image class="alert-icon"/> |
michael@0 | 28 | <vbox flex="1"> |
michael@0 | 29 | <description class="warning">&warningPrimary.label;</description> |
michael@0 | 30 | <description>&warningSecondary.label;</description> |
michael@0 | 31 | </vbox> |
michael@0 | 32 | </hbox> |
michael@0 | 33 | <label id="itemWarningIntro"/> |
michael@0 | 34 | <vbox id="itemList" class="listbox" flex="1" style="overflow: auto;"/> |
michael@0 | 35 | </vbox> |
michael@0 | 36 | |
michael@0 | 37 | </dialog> |