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 | <!DOCTYPE prefwindow [ |
michael@0 | 8 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > |
michael@0 | 9 | %brandDTD; |
michael@0 | 10 | <!ENTITY % resetProfileDTD SYSTEM "chrome://global/locale/resetProfile.dtd" > |
michael@0 | 11 | %resetProfileDTD; |
michael@0 | 12 | ]> |
michael@0 | 13 | |
michael@0 | 14 | <?xml-stylesheet href="chrome://global/skin/"?> |
michael@0 | 15 | <?xml-stylesheet href="chrome://global/content/resetProfile.css"?> |
michael@0 | 16 | |
michael@0 | 17 | <dialog id="resetProfileDialog" |
michael@0 | 18 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 19 | title="&resetProfile.dialog.title;" |
michael@0 | 20 | buttons="accept,cancel" |
michael@0 | 21 | defaultButton="cancel" |
michael@0 | 22 | buttonlabelaccept="&resetProfile.dialog.button.label;" |
michael@0 | 23 | ondialogaccept="return onResetProfileAccepted();" |
michael@0 | 24 | ondialogcancel="window.close();" |
michael@0 | 25 | onload="onResetProfileLoad();"> |
michael@0 | 26 | |
michael@0 | 27 | <script type="application/javascript" src="chrome://global/content/resetProfile.js"/> |
michael@0 | 28 | |
michael@0 | 29 | <description>&resetProfile.dialog.description;</description> |
michael@0 | 30 | |
michael@0 | 31 | <label value="&resetProfile.dialog.items2.label;"/> |
michael@0 | 32 | <vbox id="migratedItems"> |
michael@0 | 33 | </vbox> |
michael@0 | 34 | |
michael@0 | 35 | <label id="resetProfileFooter" value="&resetProfile.dialog.footer.label;"/> |
michael@0 | 36 | |
michael@0 | 37 | </dialog> |