mozilla

Revision 492943 of javascript.options.showInConsole

  • Revision slug: Mozilla/Preferences/Preference_reference/javascript.options.showInConsole
  • Revision title: javascript.options.showInConsole
  • Revision id: 492943
  • Created:
  • Creator: kscarfone
  • Is current revision? Yes
  • Comment Replaced Gecko_callout_header macro with a simple note

Revision Content

The preference javascript.options.showInConsole controls whether errors or warnings in chrome code are shown in the Error Console.

  • Type:boolean
  • Default value:  false (true in debug builds)
  • Exists by default: yes
  • Application support:Firefox 1.0
  • Status: Active
  • Introduction:2002-02-26
  • Bugs: {{ bug("125181") }} {{ bug("337875") }}

Values

false
Only errors and warnings from content code are shown.
true (default)
Errors and warnings from both chrome and content are shown in the Error Console.

Note: Since the Web Console was introduced in Firefox 4 specifically for debugging content, the default value for this preference has changed to true as of {{Gecko ("2.0")}}.

See also

Setting up extension development environment

Revision Source

<p>The preference <code>javascript.options.showInConsole</code> controls whether errors or warnings in chrome code are shown in the Error Console.</p>
<ul style="display:table;padding: 0;border-left: 2px solid;margin-left:0.5em;">
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Type:</dfn><code>boolean</code></li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Default value:&nbsp;</dfn> <code>fals</code><code>e </code>(<code>true</code> in debug builds)</li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Exists by default:</dfn> yes</li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Application support:</dfn>Firefox 1.0</li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Status:</dfn> Active</li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Introduction:</dfn><a class="external text" href="http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&amp;whitespace_mode=show&amp;file=consoleBindings.xml&amp;branch=&amp;root=/cvsroot&amp;subdir=mozilla/xpfe/components/console/resources/content&amp;command=DIFF_FRAMESET&amp;rev1=1.9&amp;rev2=1.10" rel="nofollow" title="http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&amp;whitespace_mode=show&amp;file=consoleBindings.xml&amp;branch=&amp;root=/cvsroot&amp;subdir=mozilla/xpfe/components/console/resources/content&amp;command=DIFF_FRAMESET&amp;rev1=1.9&amp;rev2=1.10">2002-02-26</a></li>
 <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Bugs:</dfn> {{ bug("125181") }} {{ bug("337875") }}</li>
</ul>
<h2 id="Values">Values</h2>
<dl>
 <dt>
  <code>false</code></dt>
 <dd>
  Only errors and warnings from content code are shown.</dd>
 <dt>
  <code>true</code> (default)</dt>
 <dd>
  Errors and warnings from both chrome and content are shown in the Error Console.
  <div class="note">
   <p><strong>Note:</strong> Since the Web Console was introduced in Firefox 4 specifically for debugging content, the default value for this preference has changed to <code>true</code> as of {{Gecko ("2.0")}}.</p>
  </div>
 </dd>
</dl>
<h2 id="See_also">See also</h2>
<p><a href="/en-US/docs/Setting_up_extension_development_environment" title="/en-US/docs/Setting_up_extension_development_environment">Setting up extension development environment</a></p>
Revert to this revision