console functions don't work

RESOLVED INVALID

Status

()

Firefox
Untriaged
RESOLVED INVALID
4 years ago
4 years ago

People

(Reporter: Enyby, Unassigned)

Tracking

33 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141011015303

Steps to reproduce:

Run in firebug or in page any of functions console:
console.log('test');
or
console.dir('test');


Actual results:

TypeError: console.log is not a function


Expected results:

'test'
(Reporter)

Comment 1

4 years ago
If type only "console" output show next functions:
Object { log=function(), debug=function(), info=function(), ещё...}
Content assist show all functions.

But any of this is not accessible.

If you type: "console.log" it's show "undefined".
"typeof console.log" -> "undefined"
"typeof console" -> "object"

It's happens after update FF to 33 version.

Comment 2

4 years ago
WFM with FF33 win 7.

Could you test:
1) in safe mode: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
2) with a clean profile: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

Does it fix it?
Flags: needinfo?(Enyby)
(Reporter)

Comment 3

4 years ago
In safe mode work fine.
In normal mode work, but after start firebug I have strange error:

XrayWrapper denied access to property log (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.

After that functions broken.
Flags: needinfo?(Enyby)

Comment 4

4 years ago
Add-on issue, probably. Try to disable htem one by one to find the culprit.
(Reporter)

Comment 5

4 years ago
> typeof console.wrappedJSObject.log;
"function"
> console.wrappedJSObject.log('test');
Object {  }
> typeof console.log;
"undefined"

"console.wrappedJSObject.log" is function and callable, but produce unexpected results. It's in normal mode.
(Reporter)

Comment 6

4 years ago
Probaly it's problem with Xray. Firebug don't know about this. May be it create own wrappers on console functions.
(Reporter)

Comment 7

4 years ago
Update Firebug from 2.0.1 to 2.0.4 fix issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.