Ability to specify the file and line-number for console.log

NEW
Unassigned

Status

()

Firefox
Developer Tools: Console
P3
enhancement
4 years ago
4 years ago

People

(Reporter: Gili, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36

Steps to reproduce:

Attempted to invoke console.log() from a wrapper function.


Actual results:

File and line number of wrapper function got logged, instead of the file and line number I was trying to do the logging for.


Expected results:

Wrapper functions should have the ability to specify what file and line number to associate with each logging entry. See https://code.google.com/p/chromium/issues/detail?id=231007 for a related discussion.

Updated

4 years ago
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

4 years ago
Component: Untriaged → Developer Tools

Updated

4 years ago
Component: Developer Tools → Developer Tools: Console
OS: Windows 7 → All
Priority: -- → P3
Hardware: x86_64 → All
You need to log in before you can comment on or make changes to this bug.