gecko-dev/suite/common/pref/pref-debug.xul

143 lines
4.9 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape 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/NPL/
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 Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-debug.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="return StartUp('Debug');"
align="vertical" title="&window.title;"
debug="false">
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<!-- Temporary hack to turn on gfx-rendered widgets -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&widgetRendering.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.widget.gfxscrollbars" />
<html:label for="pref:0:bool:nglayout.widget.gfxscrollbars" accesskey="n" tabindex="0">
&gfxScrollbars.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.widget.debugWindow" />
<html:label for="pref:0:bool:nglayout.widget.debugWindow" accesskey="n" tabindex="0">
&debugWindow.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<!-- Event Debugging -->
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&debugEventDebugging.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.paint_flashing" />
<html:label for="pref:0:bool:nglayout.debug.paint_flashing" accesskey="n" tabindex="0">
&debugPaintFlashing.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.paint_dumping" />
<html:label for="pref:0:bool:nglayout.debug.paint_dumping" accesskey="n" tabindex="0">
&debugPaintDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.invalidate_dumping" />
<html:label for="pref:0:bool:nglayout.debug.invalidate_dumping" accesskey="n" tabindex="0">
&debugInvalidateDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.event_dumping" accesskey="n" tabindex="0">
&debugEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.motion_event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.motion_event_dumping" accesskey="n" tabindex="0">
&debugMotionEventDumping.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.crossing_event_dumping" />
<html:label for="pref:0:bool:nglayout.debug.crossing_event_dumping" accesskey="n" tabindex="0">
&debugCrossingEventDumping.label;
</html:label>
</html:div>
</html:fieldset>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<html:legend align="left">
<html:div>&debugMiscellaneous.label;</html:div>
</html:legend>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.disable_xul_cache" />
<html:label for="pref:0:bool:nglayout.debug.disable_xul_cache" accesskey="n" tabindex="0">
&debugDisableXULCache.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:browser.cache.enable" />
<html:label for="pref:0:bool:browser.cache.enable" accesskey="n" tabindex="0">
&debugEnableMemCache.label;
</html:label>
</html:div>
<html:div>
<html:input type="checkbox" id="pref:0:bool:nglayout.debug.enable_xpcom_refcnt_log" />
<html:label for="pref:0:bool:nglayout.debug.enable_xpcom_refcnt_log" accesskey="n" tabindex="0">
&debugEnableXPCOMRefcntLog.label;
</html:label>
</html:div>
</html:fieldset>
</box>
</window>