toolkit/mozapps/extensions/content/about.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 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
     8 <?xml-stylesheet href="chrome://mozapps/skin/extensions/about.css" type="text/css"?> 
    10 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/extensions/about.dtd">
    12 <dialog id="genericAbout"
    13         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    14         onload="init();"
    15         buttons="accept"
    16         buttoniconaccept="close"
    17         onaccept="close();">
    19   <script type="application/javascript" src="chrome://mozapps/content/extensions/about.js"/>
    20   <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
    22   <stringbundleset id="aboutSet">
    23     <stringbundle id="extensionsStrings" src="chrome://mozapps/locale/extensions/extensions.properties"/>
    24   </stringbundleset>
    26   <vbox id="clientBox" flex="1">
    27     <hbox class="basic-info">
    28       <vbox pack="center">
    29         <image id="extensionIcon"/>
    30       </vbox>
    31       <vbox flex="1">
    32         <label id="extensionName"/>
    33         <label id="extensionVersion" crop="end"/>
    34       </vbox>
    35     </hbox>
    36     <description id="extensionDescription" class="boxIndent"/>
    38     <separator id="groove" class="groove"/>
    40     <vbox id="extensionDetailsBox" flex="1">
    41       <label id="extensionCreatorLabel" class="sectionTitle">&creator.label;</label>
    42       <hbox id="creatorBox" class="boxIndent">
    43         <label id="extensionCreator" flex="1" crop="end"/>
    44         <label id="extensionHomepage" onclick="if (event.button == 0) { loadHomepage(event); }"
    45                class="text-link" value="&homepage.label;"/>
    46       </hbox>
    48       <label id="extensionDevelopers" class="sectionTitle">&developers.label;</label>
    49       <vbox flex="1" id="developersBox" class="boxIndent"/>
    50       <label id="extensionTranslators" class="sectionTitle">&translators.label;</label>
    51       <vbox flex="1" id="translatorsBox" class="boxIndent"/>
    52       <label id="extensionContributors" class="sectionTitle">&contributors.label;</label>
    53       <vbox flex="1" id="contributorsBox" class="boxIndent"/>
    54     </vbox>
    55   </vbox>
    57 </dialog>

mercurial