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 | <?xml-stylesheet href="chrome://global/skin/global.css"?> |
michael@0 | 3 | <?xml-stylesheet href="chrome://mozapps/content/handling/handler.css"?> |
michael@0 | 4 | <?xml-stylesheet href="chrome://mozapps/skin/handling/handling.css"?> |
michael@0 | 5 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 6 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 7 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 8 | |
michael@0 | 9 | <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd"> |
michael@0 | 10 | |
michael@0 | 11 | <dialog id="handling" |
michael@0 | 12 | ondialogaccept="return dialog.onAccept();" |
michael@0 | 13 | onload="dialog.initialize();" |
michael@0 | 14 | style="min-width: &window.emWidth;; min-height: &window.emHeight;;" |
michael@0 | 15 | persist="width height screenX screenY" |
michael@0 | 16 | aria-describedby="description-text" |
michael@0 | 17 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 18 | |
michael@0 | 19 | <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/> |
michael@0 | 20 | |
michael@0 | 21 | <stringbundleset id="strings"> |
michael@0 | 22 | <stringbundle id="base-strings" |
michael@0 | 23 | src="chrome://mozapps/locale/handling/handling.properties"/> |
michael@0 | 24 | </stringbundleset> |
michael@0 | 25 | |
michael@0 | 26 | <hbox> |
michael@0 | 27 | <image id="description-image"/> |
michael@0 | 28 | <description id="description-text"/> |
michael@0 | 29 | </hbox> |
michael@0 | 30 | |
michael@0 | 31 | <vbox flex="1"> |
michael@0 | 32 | <label id="item-action-text" control="items"/> |
michael@0 | 33 | <richlistbox id="items" flex="1" |
michael@0 | 34 | ondblclick="dialog.onDblClick();" |
michael@0 | 35 | onselect="dialog.updateOKButton();"> |
michael@0 | 36 | <richlistitem id="item-choose" orient="horizontal" selected="true"> |
michael@0 | 37 | <label value="&ChooseApp.description;" flex="1"/> |
michael@0 | 38 | <button oncommand="dialog.chooseApplication();" |
michael@0 | 39 | label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/> |
michael@0 | 40 | </richlistitem> |
michael@0 | 41 | </richlistbox> |
michael@0 | 42 | </vbox> |
michael@0 | 43 | |
michael@0 | 44 | <checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/> |
michael@0 | 45 | <description id="remember-text"/> |
michael@0 | 46 | |
michael@0 | 47 | </dialog> |