Debug console messages should not happen by default in production installations

Ask for help about NoScript, no registration needed to post
NoScripter9138115224

Debug console messages should not happen by default in production installations

Post 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.
Last edited by barbaz on Thu Jun 24, 2021 12:23 pm, edited 1 time in total.
Reason: Shorter and clearer topic title
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

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

Post 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?
*Always* check the changelogs BEFORE updating that important software!
-
Guest

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

Post 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.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Guest

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

Post 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. ;)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
Post Reply