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