Skip to content

Commit dfad256

Browse files
Rob--Wrpl
authored andcommitted
fix: Use default javascript.options.strict=false (#1357)
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
1 parent 0731209 commit dfad256

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/firefox/preferences.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export type PreferencesAppName = 'firefox' | 'fennec';
2222
const prefsCommon: FirefoxPreferences = {
2323
// Allow debug output via dump to be printed to the system console
2424
'browser.dom.window.dump.enabled': true,
25-
// Warn about possibly incorrect code.
26-
'javascript.options.strict': true,
27-
'javascript.options.showInConsole': true,
2825

2926
// Allow remote connections to the debugger.
3027
'devtools.debugger.remote-enabled': true,

0 commit comments

Comments
 (0)