chakra-core / chakra-core/ChakraCore

Support Error.prepareStackTrace and Error.captureStackTrace

Open
#587 6 comments 2 reactions 0 assignees View on GitHub
Bug Severity: 2
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

ChakraCore supports Error.stackTraceLimit, but not the other [StackTrace APIs in V8](https://github.com/v8/v8/wiki/Stack%20Trace%20API). Found multiple sites and nodejs modules using other APIs and incompatible with Edge / node-chakracore.

To improve compatibility, we need to consider better support of other APIs, Error.prepareStackTrace and Error.captureStackTrace.

Error.prepareStackTrace may be a bit harder to implement as we need to expose current native stack trace frame data structures to JS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.