125181 - add pref to filter chrome:// errors in javascript console. r=ben sr=hewitt a=asa

git-svn-id: svn://10.0.0.236/trunk@228501 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2007-06-21 19:45:03 +00:00
parent 26bc6d3bbc
commit 1a2ac691ab
2 changed files with 5 additions and 2 deletions

View File

@ -32,8 +32,8 @@
<![CDATA[
var _elementIDs = ["nglayoutDebugWindow", "nglayoutUseNativePrintDialog", "printUseGlobalPrintSettings",
"debugXULBoxes", "browserDOMWindowDumpEnabled",
"javascriptOptionsStrict", "nglayoutDebugUseXBLForms",
"nglayoutDebugEnableXPCOMRefcntLog",
"javascriptOptionsStrict", "javascriptOptionsShowInConsole",
"nglayoutDebugUseXBLForms", "nglayoutDebugEnableXPCOMRefcntLog",
"acceleratorKeyValue", "menuAccessKeyValue"];
]]>
</script>
@ -71,6 +71,8 @@
prefstring="browser.dom.window.dump.enabled"/>
<checkbox id="javascriptOptionsStrict" label="&debugStrictJavascript.label;"
prefstring="javascript.options.strict"/>
<checkbox id="javascriptOptionsShowInConsole" label="&debugConsoleJavascript.label;"
prefstring="javascript.options.showInConsole"/>
<checkbox id="nglayoutDebugUseXBLForms" label="&debugUseXBLForms.label;"
prefstring="nglayout.debug.enable_xbl_forms"/>
<checkbox id="nglayoutDebugEnableXPCOMRefcntLog" label="&debugEnableXPCOMRefcntLog.label;"

View File

@ -9,6 +9,7 @@
<!ENTITY debugMiscellaneous.label "Miscellaneous">
<!ENTITY debugEnableDump.label "Enable JavaScript dump() output">
<!ENTITY debugStrictJavascript.label "Show strict JavaScript warnings">
<!ENTITY debugConsoleJavascript.label "Show Javascript errors and warnings in Mozilla chrome in the js console">
<!ENTITY debugUseXBLForms.label "Use XBL-based form controls (takes effect after restart). These are still under construction.">
<!ENTITY debugEnableXPCOMRefcntLog.label "Enable XPCOM Refcount Log">