New issue
Advanced search Search tips

Issue 644094 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue v8:5342
Owner:
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Error.captureStackTrace now adds its own call to the stack

Project Member Reported by jgruber@chromium.org, Sep 5 2016

Issue description

Mirrored from https://bugs.chromium.org/p/v8/issues/detail?id=5342

Version: 5.4+
OS: OSX

What steps will reproduce the problem?

1. In Chrome devtools, run the following:
    var st = {}
    Error.captureStackTrace(st)
    console.log(st.stack)

What is the expected output?

Error
    at <anonymous>:2:7

What do you see instead?

Error
    at Function.captureStackTrace (<anonymous>)
    at <anonymous>:2:7

Ref: https://github.com/nodejs/citgm/issues/176
 
Mergedinto: v8:5342
Status: Duplicate (was: Available)
Labels: -Merge-Request-54

Sign in to add a comment