Open
Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
This comment was marked as spam.
This comment was marked as spam.
Error.captureStackTraceError.captureStackTrace
caugner
requested changes
Mar 27, 2026
| "chrome_android": "mirror", | ||
| "deno": { | ||
| "version_added": false | ||
| "version_added": "1.22.2" |
Contributor
There was a problem hiding this comment.
According to the tags on denoland/deno@0cd8f53 this commit first appeared in 1.23.
Suggested change
| "version_added": "1.22.2" | |
| "version_added": "1.23" |
Author
There was a problem hiding this comment.
You're looking at the commit on main. As I linked in #29313, the actual first commit denoland/deno@938a550 appeared on the 1.22 branch on tag 1.22.2.
Author
There was a problem hiding this comment.
Moreover, deno uses v8. These commits are only when Error.captureStackTrace type-checked correctly. It worked long before that:
~/dev/mdn
❯ mise exec [email protected] -- deno eval -- 'console.log(Error.captureStackTrace)'
[Function: captureStackTrace]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Deno supports
Error.captureStackTracesince v1.22.2.Test results and supporting details
See: #29313
Related issues
Fixes: #29313