suite/debugQA/content/pref-debug1.xul
author Serge Gautherie <sgautherie.bz@free.fr>
Thu, 26 Mar 2009 15:00:18 +0100
changeset 2285 e79e68147a0f703884c2981cddf6be5a3d09ee0f
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 3103 15e04f02d044012efa6776f110807a71585a0fb6
permissions -rw-r--r--
Bug 469581 - |make *test*| doesn't accept arguments, like --leak-threshold; (Bv1-CC) Keep SeaMonkey |mochitest-browser-chrome| in sync'; r=kairo

<?xml version="1.0"?> 
<!-- ***** BEGIN LICENSE BLOCK *****
 Version: MPL 1.1/GPL 2.0/LGPL 2.1

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/

 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.

 The Original Code is Mozilla Communicator client code, released
 March 31, 1998.

 The Initial Developer of the Original Code is
 Netscape Communications Corporation.
 Portions created by the Initial Developer are Copyright (C) 1998-1999
 the Initial Developer. All Rights Reserved.

 Contributor(s):

 Alternatively, the contents of this file may be used under the terms of
 either of the GNU General Public License Version 2 or later (the "GPL"),
 or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 in which case the provisions of the GPL or the LGPL are applicable instead
 of those above. If you wish to allow use of your version of this file only
 under the terms of either the GPL or the LGPL, and not to allow others to
 use your version of this file under the terms of the MPL, indicate your
 decision by deleting the provisions above and replace them with the notice
 and other provisions required by the GPL or the LGPL. If you do not delete
 the provisions above, a recipient may use your version of this file under
 the terms of any one of the MPL, the GPL or the LGPL.

 ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>

<!DOCTYPE overlay SYSTEM "chrome://debugQA/locale/pref-debug1.dtd" >

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <prefpane id="debugqa_prefs_debug1" label="&lHeader;">

    <preferences id="debugqa_preferences">
      <preference id="nglayout.debug.paint_flashing"
                  name="nglayout.debug.paint_flashing" type="bool"/>
      <preference id="nglayout.debug.paint_dumping"
                  name="nglayout.debug.paint_dumping" type="bool"/>
      <preference id="nglayout.debug.invalidate_dumping"
                  name="nglayout.debug.invalidate_dumping" type="bool"/>
      <preference id="nglayout.debug.event_dumping"
                  name="nglayout.debug.event_dumping" type="bool"/>
      <preference id="nglayout.debug.motion_event_dumping"
                  name="nglayout.debug.motion_event_dumping" type="bool"/>
      <preference id="nglayout.debug.crossing_event_dumping"
                  name="nglayout.debug.crossing_event_dumping" type="bool"/>
      <preference id="layout.reflow.showframecounts"
                  name="layout.reflow.showframecounts" type="bool"/>
      <preference id="layout.reflow.dumpframecounts"
                  name="layout.reflow.dumpframecounts" type="bool"/>
      <preference id="layout.reflow.dumpframebyframecounts"
                  name="layout.reflow.dumpframebyframecounts" type="bool"/>
    </preferences>

    <!-- nothing on this page has accesskeys because this is a temporary debug
         panel and you can damn well click the widgets! -->

    <!-- Event Debugging -->  
    <groupbox>
      <caption label="&debugEventDebugging.label;"/>
      <vbox align="start">
        <checkbox id="nglayoutDebugPaintFlashing" label="&debugPaintFlashing.label;"
                  preference="nglayout.debug.paint_flashing"/>
        <checkbox id="nglayoutDebugPaintDumping" label="&debugPaintDumping.label;"
                  preference="nglayout.debug.paint_dumping"/>
        <checkbox id="nglayoutDebugInvalidateDumping"
                  label="&debugInvalidateDumping.label;"
                  preference="nglayout.debug.invalidate_dumping"/>
        <checkbox id="nglayoutDebugEventDumping" label="&debugEventDumping.label;"
                  preference="nglayout.debug.event_dumping"/>              
        <checkbox id="nglayoutDebugMotionEventDumping"
                  label="&debugMotionEventDumping.label;"
                  preference="nglayout.debug.motion_event_dumping"/>
        <checkbox id="nglayoutDebugCrossingEventDumping"
                  label="&debugCrossingEventDumping.label;"
                  preference="nglayout.debug.crossing_event_dumping"/>
      </vbox>
    </groupbox>

    <!-- Reflow events -->
    <groupbox>
      <caption label="&debugReflowEvents.label;"/>
      <vbox align="start">
        <checkbox id="layoutReflowShowFrameCounts" label="&debugReflowShowFrameCounts.label;"
                  preference="layout.reflow.showframecounts"/>
        <checkbox id="layoutReflowDumpFrameCounts" label="&debugReflowDumpFrameCounts.label;"
                  preference="layout.reflow.dumpframecounts"/>
        <checkbox id="layoutReflowDumpFrameByFrameCounts" label="&debugReflowDumpFrameByFrameCounts.label;"
                  preference="layout.reflow.dumpframebyframecounts"/>
      </vbox>
    </groupbox>
  </prefpane>
</overlay>