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 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | |
michael@0 | 9 | <!DOCTYPE dialog [ |
michael@0 | 10 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > |
michael@0 | 11 | <!ENTITY % removempDTD SYSTEM "chrome://mozapps/locale/preferences/removemp.dtd" > |
michael@0 | 12 | %brandDTD; |
michael@0 | 13 | %removempDTD; |
michael@0 | 14 | ]> |
michael@0 | 15 | |
michael@0 | 16 | <dialog id="removemp" title="&removePassword.title;" |
michael@0 | 17 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 18 | style="width: 35em;" |
michael@0 | 19 | ondialogaccept="gRemovePasswordDialog.removePassword();" |
michael@0 | 20 | onload="gRemovePasswordDialog.init()"> |
michael@0 | 21 | |
michael@0 | 22 | <script type="application/javascript" src="chrome://mozapps/content/preferences/removemp.js"/> |
michael@0 | 23 | |
michael@0 | 24 | <stringbundle id="bundlePreferences" src="chrome://mozapps/locale/preferences/preferences.properties"/> |
michael@0 | 25 | |
michael@0 | 26 | <vbox id="warnings"> |
michael@0 | 27 | <description>&removeWarning1.label;</description> |
michael@0 | 28 | <description class="header">&removeWarning2.label;</description> |
michael@0 | 29 | </vbox> |
michael@0 | 30 | |
michael@0 | 31 | <separator class="thin"/> |
michael@0 | 32 | |
michael@0 | 33 | <groupbox> |
michael@0 | 34 | <caption label="&removeInfo.label;"/> |
michael@0 | 35 | |
michael@0 | 36 | <hbox align="center"> |
michael@0 | 37 | <label control="password" value="&setPassword.oldPassword.label;"/> |
michael@0 | 38 | <textbox id="password" type="password" |
michael@0 | 39 | oninput="gRemovePasswordDialog.validateInput();" |
michael@0 | 40 | aria-describedby="warnings"/> |
michael@0 | 41 | </hbox> |
michael@0 | 42 | </groupbox> |
michael@0 | 43 | |
michael@0 | 44 | <separator/> |
michael@0 | 45 | |
michael@0 | 46 | </dialog> |