"The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page" #821

Open
sole opened this Issue Sep 2, 2013 · 4 comments

Comments

Projects
None yet
4 participants
Member

sole commented Sep 2, 2013

I don't know what has happened or what I'm possibly doing wrong, but after trying with Nightly, Aurora, Beta and Stable I can't get the simulator to stop emitting that message , and I can't get the console.* methods to work, either.

The only references to that message I could find in the internet are in fact mentions to Firebug, which I do not have installed, so I'm much puzzled about this.

Is there anything I can do?

Member

sole commented Sep 2, 2013

Correction: the console.* methods work. But the message is still there o_O

This gets downgraded to a puzzling cosmetic issue, then :)

hanklank commented Sep 2, 2013

I get the same message, but for me console doesn't work. I removed all other plugins and restarted, stil get the message when running simulator app.

Environment:
Ubuntu 13.04 x64
Latest firefox 0S simulator 5, pre3
No other addons installed
Firefox 23.

I believe this message is triggered when the console is replaced by an object:
https://github.com/mozilla/mozilla-central/blob/23749a301a607174e6363010edc9f42348dd2740/browser/devtools/webconsole/webconsole.js#L1543

It may be that this is triggered by a emulated file "replacing" the console with itself. I also see the message, but console messages from inside my webapp are sent to the connected debugger terminal (Firefox 27.0a1 | Windows 7). It might be useful to add a bit of clarification to the docs about this and clear up if it's an error or a byproduct warning.

dbdavis commented Jan 15, 2017

This problem was driving mr nuts. How can I debug with no console, alerts only take you so far. I looked at all of the many other comments. Although 1 of them mentioned that it was due to firebug; none of them mentioned that, although the firefox (and I would guess other) browser console was useless, the desired console output shows up in the firefox console. Look there! Now I can proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment