toolkit/components/passwordmgr/content/passwordManagerExceptions.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"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- -->
     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 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     9 <!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" >
    11 <prefwindow id="SignonViewerExceptionDialog"
    12             windowtype="Toolkit:PasswordManagerExceptions"
    13             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    14             buttons="accept"
    15             buttonlabelaccept="&closebutton.label;"
    16             onload="Startup(); RejectsStartup();"
    17             onunload="Shutdown();"
    18             title="&savedPasswordsExceptions.title;"
    19             persist="width height screenX screenY">
    21   <prefpane id="SignonViewerDialogPane" flex="1">
    22     <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
    23     <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>
    25     <vbox id="rejectedsites" flex="1">
    26         <description control="rejectsTree">&loginsSpielExceptions.label;</description>
    27         <separator class="thin"/>
    28         <tree id="rejectsTree" flex="1" style="height: 10em;" hidecolumnpicker="true"
    29               onkeypress="HandleRejectKeyPress(event)"
    30               onselect="RejectSelected();">
    31           <treecols>
    32             <treecol id="rejectCol" label="&treehead.site.label;" flex="5"
    33                      onclick="RejectColumnSort('host');" sortDirection="ascending"/>
    34           </treecols>
    35           <treechildren/>
    36         </tree>
    37         <separator class="thin"/>
    38         <hbox>
    39           <button id="removeReject" disabled="true" icon="remove"
    40                   accesskey="&remove.accesskey;"
    41                   label="&remove.label;" oncommand="DeleteReject();"/>
    42           <button id="removeAllRejects"
    43                   accesskey="&removeall.accesskey;"
    44                   icon="clear" label="&removeall.label;"
    45                   oncommand="DeleteAllRejects();"/>
    46         </hbox>
    47     </vbox>
    48   </prefpane>
    49 </prefwindow>

mercurial