toolkit/content/resetProfile.xul

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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"?>
     3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     4    - License, v. 2.0. If a copy of the MPL was not distributed with this
     5    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     7 <!DOCTYPE prefwindow [
     8 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
     9 %brandDTD;
    10 <!ENTITY % resetProfileDTD SYSTEM "chrome://global/locale/resetProfile.dtd" >
    11 %resetProfileDTD;
    12 ]>
    14 <?xml-stylesheet href="chrome://global/skin/"?>
    15 <?xml-stylesheet href="chrome://global/content/resetProfile.css"?>
    17 <dialog id="resetProfileDialog"
    18             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    19             title="&resetProfile.dialog.title;"
    20             buttons="accept,cancel"
    21             defaultButton="cancel"
    22             buttonlabelaccept="&resetProfile.dialog.button.label;"
    23             ondialogaccept="return onResetProfileAccepted();"
    24             ondialogcancel="window.close();"
    25             onload="onResetProfileLoad();">
    27   <script type="application/javascript" src="chrome://global/content/resetProfile.js"/>
    29   <description>&resetProfile.dialog.description;</description>
    31   <label value="&resetProfile.dialog.items2.label;"/>
    32   <vbox id="migratedItems">
    33   </vbox>
    35   <label id="resetProfileFooter" value="&resetProfile.dialog.footer.label;"/>
    37 </dialog>

mercurial