Closed Bug 1018674 Opened 11 years ago Closed 11 years ago

Console log doesn't work in console function.

Categories

(DevTools :: Console, defect)

30 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lb1.3, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140508142553 Steps to reproduce: Ran these commands in console: function logthing() {console.log('hey'); } undefined logthing() undefined Actual results: It didn't log 'hey' Expected results: Console.log should work correctly.
I've tried the described scenario, by running the two commands in the console, and I can see 'hey' being logged: function logthing() {console.log('hey'); } undefined logthing() undefined "hey" I tried this on Firefox 30 Beta 3 (BuildID: 20140508142553) and Firefox 30 RC (BuildID: 20140603140158), on Windows 7 x64 and Ubuntu 13.04 x64. Luke, are you still seeing this issue?
Component: Untriaged → Developer Tools: Console
Flags: needinfo?(lb1.3)
Yes, even with addons-disabled mode, Firefox 30 for Ubuntu.
Flags: needinfo?(lb1.3)
I can't reproduce it either.
I tried the STR with firefox nightly of today and in firefox 31 from beta channel (ubuntu 14.04): both work correctly. Can we close this bug or anyone wants to do any further investigation?
Since it's been now 3 separate people not able to reproduce the problem, I'll mark it as Resolved Worksforme, since it looks like there's nothing more we can do. If anyone can confirm it, then feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
I can reproduce this problem with Firefox 32.0 (launched in safe mode or normal mode). In a more general way, I could never log anything to the dev console (from a script or from the console itself). Thus, I have to use Firebug.
It would be helpful if you could provide a screen capture of this behavior in action. Do you get any output at all in the web console? In the Browser Console? Which site are you on when you see this?
I added a screen capture, taken in Firefox nightly on the about:home page in attachment of this bug.
I just tried to delete my ~/.mozilla folder, to start with a brand new profile. The console is working fine, so it's a profile-related bug. I could try to trace the problem with my profile.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: