whatwg / console

Console Standard
https://console.spec.whatwg.org/
Other
272 stars 69 forks source link

"The identifier of a function printed in a stack..." #156

Closed benwinding closed 4 years ago

benwinding commented 5 years ago

https://console.spec.whatwg.org/commit-snapshots/b6cca580a31e6d8899a73c583e7ea1652c537850/#trace

The identifier of a function printed in a stack trace is implementation-dependant. It is also not guaranteed to be the same identifier that would be seen in new Error().stack.

Is it possible to retrieve the console.trace() output as a string? in our case Error.stack is incorrect, but console.trace() is correct.