view chrome/content/leaks/leaks.xul @ 2:472a16863ecc

expanded nightly.jar
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Dec 2008 20:38:20 +0900
parents
children
line wrap: on
line source

<?xml version="1.0"?>

<!DOCTYPE window SYSTEM "chrome://nightly/locale/leaks.dtd">

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://nightly/skin/leaks/leaks.css" type="text/css"?>

<window id="LeakReporter" type="Nightly:LeakReporter"
            title="&nightly.leaks.title;" style="padding: 10px; width: 80em; height: 60em"
            persist="width height screenX screenY"
            xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<xhtml:style>
.leaked {
  color: red;
}

.uri {
  padding-left: 2em;
}
</xhtml:style>

  <script type="application/x-javascript" src="leaks.js"/>
  <script type="application/x-javascript" src="chrome://nightly/content/platform.js" />
  
  <stringbundleset>
    <stringbundle id="bundle" src="chrome://nightly/locale/leaks.properties"/>
  </stringbundleset>
  
  <vbox style="padding-bottom: 1em">
    <hbox align="center">
      <label value="&nightly.leaks.logfile.label;"/>
      <textbox id="nsprlog" onchange="textEnter()" flex="1"/>
      <button id="filebrowse" oncommand="selectLog()" label="&nightly.leaks.browse.label;"/>
    </hbox>
    
    <checkbox id="showlog" oncommand="flipLog()" label="&nightly.leaks.displayfull.label;"/>
  </vbox>

  <stack flex="1">
    <vbox align="center" pack="center">
      <label style="font-size: 200%;" value="&nightly.leaks.loading.label;"/>
    </vbox>
    <tabbox id="tabbox" flex="1">
      <tabs>
        <tab label="&nightly.leaks.overview.label;"/>
        <tab label="&nightly.leaks.fulllog.label;"/>
      </tabs>
      <tabpanels flex="1">
        <tabpanel orient="vertical">
          <hbox pack="start">
            <button id="btnCopy" disabled="true" oncommand="clipboardCopy()" label="&nightly.leaks.copy.label;"/>
            <button id="btnSave" disabled="true" oncommand="save()" label="&nightly.leaks.save.label;"/>
          </hbox>
          <vbox id="summary" collapsed="true">
            <label style="font-size: 200%;" value="&nightly.leaks.summary.label;"/>
            <separator/>
            <label id="buildid"/>
            <hbox><label id="date"/></hbox>
            <separator/>
            <label id="windowLeaks"/>
            <label id="documentLeaks"/>
            <label id="docshellLeaks"/>
          </vbox>
          <separator/>
          <vbox id="detailsbox" flex="1" collapsed="true">
            <label style="font-size: 200%;" value="&nightly.leaks.details.label;"/>
            <separator/>
            <vbox flex="1" id="details" style="overflow: auto"/>
          </vbox>
        </tabpanel>
        <tabpanel orient="vertical">
          <hbox pack="start" align="center">
            <label value="&nightly.leaks.display.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterDocshell" label="&nightly.leaks.docshellfilter.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterWindow" label="&nightly.leaks.windowfilter.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterDocument" label="&nightly.leaks.documentfilter.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterLeaked" label="&nightly.leaks.leakedfilter.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterCollected" label="&nightly.leaks.collectedfilter.label;"/>
            <checkbox checked="true" oncommand="changeFilter()" id="filterIgnored" label="&nightly.leaks.unknownfilter.label;"/>
          </hbox>
          <iframe id="logframe" style="border: 1px solid threedshadow" flex="1"/>
        </tabpanel>
      </tabpanels>
    </tabbox>
  </stack>

</window>