Javascript.options.strict: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
m (→‎Background: update link)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{wrongtitle|title=javascript.options.strict}}
{{preference|pref=javascript.options.strict}}


==Background==
==Background==
[[JavaScript warnings]] are generated when code is executed that doesn't cause an run-time error, but is non-standard, poorly written, or prone to cause logic errors.  This preference controls whether JavaScript warnings are logged to the [[JavaScript Console]].
[[JavaScript warnings]] are generated when code is executed that doesn't cause a run-time error, but is non-standard, poorly written, or prone to cause logic errors.  This preference controls whether JavaScript warnings are logged to the [http://developer.mozilla.org/en/docs/JavaScript_Console JavaScript Console].


==Possible values and their effects==
==Possible values and their effects==
Line 29: Line 29:
* Calendar (all versions)
* Calendar (all versions)
* Minimo (all versions)
* Minimo (all versions)
* Seamonkey (all versions)
* SeaMonkey (all versions)


==Related preferences==
==Related preferences==
Line 41: Line 41:


[[Category:Preferences]]
[[Category:Preferences]]
[[Category:Preferences (Thunderbird)]]

Latest revision as of 17:01, 7 May 2006

Background

JavaScript warnings are generated when code is executed that doesn't cause a run-time error, but is non-standard, poorly written, or prone to cause logic errors. This preference controls whether JavaScript warnings are logged to the JavaScript Console.

Possible values and their effects

True

Show JavaScript errors and warnings.

False

Show JavaScript errors only. (Default)

UI

Mozilla Suite

Edit→Preferences→Debug→Show strict JavaScript warnings

Recommended settings

Web developers, extension developers, and hackers should have this preference set to true.

First checked in

1999-11-11 by Brendan Eich.

Has an effect in

  • Netscape (all versions since 6.0)
  • Mozilla Suite (all versions since M11)
  • Phoenix (all versions)
  • Firebird (all versions)
  • Firefox (all versions)
  • Thunderbird (all versions)
  • Calendar (all versions)
  • Minimo (all versions)
  • SeaMonkey (all versions)

Related preferences

See also

External links