Skip to content

[JSC] An error whose captured stack has no frames gets its stack from the host's hook - #829

Closed
dylan-conway wants to merge 6 commits into
mainfrom
claude/stack-header-without-frames
Closed

dylan-conway wants to merge 6 commits into
mainfrom
claude/stack-header-without-frames

[JSC] The host's hook is asked at most once about an error with no fr…

80bb37d
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Oct 18, 2026 in 13m 0s

Code review found 1 potential issue

Found 5 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit Source/JavaScriptCore/runtime/ErrorInstance.cpp:496 In Bun debug builds, an error made with no frames, read, then given frames by Error.captureStackTrace can now trip ASSER