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/. -->
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <!DOCTYPE wizard [
9 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
10 %brandDTD;
11 <!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/createProfileWizard.dtd">
12 %profileDTD;
13 ]>
15 <wizard id="createProfileWizard"
16 title="&newprofile.title;"
17 xmlns:html="http://www.w3.org/1999/xhtml"
18 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
20 onwizardfinish="return onFinish();"
21 onload="initWizard();"
22 style="&window.size;">
24 <stringbundle id="bundle_profileManager"
25 src="chrome://mozapps/locale/profile/profileSelection.properties"/>
27 <script type="application/javascript" src="chrome://mozapps/content/profile/createProfileWizard.js"/>
29 <wizardpage id="explanation" onpageshow="enableNextButton();">
30 <description>&profileCreationExplanation_1.text;</description>
31 <description>&profileCreationExplanation_2.text;</description>
32 <description>&profileCreationExplanation_3.text;</description>
33 <spacer flex="1"/>
34 #ifdef XP_MACOSX
35 <description>&profileCreationExplanation_4Mac.text;</description>
36 #else
37 #ifdef XP_UNIX
38 <description>&profileCreationExplanation_4Gnome.text;</description>
39 #else
40 <description>&profileCreationExplanation_4.text;</description>
41 #endif
42 #endif
43 </wizardpage>
45 <wizardpage id="createProfile" onpageshow="initSecondWizardPage();">
46 <description>&profileCreationIntro.text;</description>
48 <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label>
49 <textbox id="profileName" value="&profileDefaultName;"
50 oninput="updateProfileName(this.value);"/>
52 <separator/>
54 <description>&profileDirectoryExplanation.text;</description>
56 <vbox class="indent" flex="1" style="overflow: auto;">
57 <description id="profileDisplay">*</description>
58 </vbox>
60 <hbox>
61 <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();"
62 accesskey="&button.choosefolder.accesskey;"/>
64 <button id="useDefault" label="&button.usedefault.label;"
65 oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();"
66 accesskey="&button.usedefault.accesskey;" disabled="true"/>
67 </hbox>
69 <separator/>
71 <description id="finishText">*</description>
72 </wizardpage>
74 </wizard>