Page 1 of 1

Debug console messages should not happen by default in production installations

Posted: Thu Jun 24, 2021 8:28 am
by NoScripter9138115224
When I'm working in Firefox with a file:///, there is annoying debut output by NoScript, no matter the TRUSTED setting for the file: protocol:

Code: Select all

[NoScript] Waiting for syncFetchPolicy to load... log.js:9:13
Freezing file:///C:/%23file.html DocumentFreezer.js:81:15
sendSyncMessage suspend #0/1 SyncMessage.js:224:19
Unfreezing file:///C:/%23file.html DocumentFreezer.js:97:15
sendSyncMessage finalizing SyncMessage.js:242:19
sendSyncMessage resume #0/0 - 15ms SyncMessage.js:233:19
sendSyncMessage finalizing SyncMessage.js:242:19
Those are obviously internal debug messages and should not be visible in normal production. I guess it's a specific file: protocol issue. At least, it should be configurable (like via about:config) and deactivated by default.

Re: Debug console messages should not happen by default in production installations

Posted: Thu Jun 24, 2021 12:31 pm
by barbaz
Just to be clear, this is specifically about the Web Console (Ctrl-Shift-K), right? Not Browser Console, and not the about:debugging console for NoScript?

Re: Debug console messages should not happen by default in production installations

Posted: Thu Jun 24, 2021 2:25 pm
by Guest
barbaz wrote: Thu Jun 24, 2021 12:31 pm Just to be clear, this is specifically about the Web Console (Ctrl-Shift-K), right? Not Browser Console, and not the about:debugging console for NoScript?
Exactly—I usually press [F12], but yes, it’s in the web inspector, the built-in developer tools, not in about:debugging.

Re: Debug console messages should not happen by default in production installations

Posted: Sat Dec 04, 2021 6:28 pm
by Guest
Will there be a change to this? Is there an issue in a tracker for this?

Aside from being annoying durint development, it’s most likely a bug, because someone left debugging output in a release candidate.

It’d be really great if someone removed it from the live version. It’s quickly done. ;)