Closed
Bug 1280835
Opened 8 years ago
Closed 8 years ago
Console mishandles either bound or self-hosted functions, unclear which
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1280818
People
(Reporter: bzbarsky, Unassigned)
Details
Testcase: <script> var log = console.log.bind(console); log("a"); </script> This comes up in the console with a location of "(unknown)". For extra badness, doing this: <script> function f() { var trace = console.log.bind(console); trace(); } f(); </script> shows not only a location of "(unknown)" but also an empty stacktrace.
Reporter | ||
Comment 2•8 years ago
|
||
Yes, I thought I'd marked it so....
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(bzbarsky)
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•