Skip to content

Commit

Permalink
fix: Use default javascript.options.strict=false (#1357)
Browse files Browse the repository at this point in the history
The `javascript.options.strict` option results in lots of log spam,
which not only makes debugging harder, but also slows down Firefox.

The `javascript.options.showInConsole` option was removed too because
true is already the default value.

Fixes #1355
  • Loading branch information
Rob--W authored and rpl committed Aug 23, 2018
1 parent 0731209 commit dfad256
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/firefox/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export type PreferencesAppName = 'firefox' | 'fennec';
const prefsCommon: FirefoxPreferences = {
// Allow debug output via dump to be printed to the system console
'browser.dom.window.dump.enabled': true,
// Warn about possibly incorrect code.
'javascript.options.strict': true,
'javascript.options.showInConsole': true,

// Allow remote connections to the debugger.
'devtools.debugger.remote-enabled': true,
Expand Down

0 comments on commit dfad256

Please sign in to comment.