deno
578cb26b - fix: format wasm stack traces per W3C spec (#32246)

Commit
151 days ago
fix: format wasm stack traces per W3C spec (#32246) ## Summary - Update wasm stack trace formatting to use the W3C WebAssembly Web API spec format: `wasm-function[<funcIndex>]:0x<hexOffset>` instead of the generic `line:col` format - Update existing `wasm_url` test expectation to match - Add new integration test (`wasm_stack_trace`) covering: - Basic unreachable trap with correct `wasm-function[0]:0x<offset>` format - Multi-frame wasm call chain verifying correct function indices across frames - `Error.prepareStackTrace` callsite `toString()` producing correct wasm format Fixes #32239 Actually fixed in https://github.com/denoland/deno/pull/32293, this just adds a test. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Author
Parents
Loading