toolkit/components/passwordmgr/content/passwordManagerExceptions.xul

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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