Files
sdk/tests/web
Nate Biggs 72d87adf69 [dart2wasm] Make stacktraces more consistent
Add `never-inline` pragma to all methods in the "StackTrace.current"
call hierarchy. If dart2wasm or wasm-opt inline any of these the number
of frames to remove is inconsistent.

Also only remove frames when the stack trace is from "current", not when
it's from the other JavaScriptStackTrace constructor.

Fixes issue raised in: https://dart-review.googlesource.com/c/sdk/+/479640/comments/7be8f913_489aa935

Change-Id: Id15252cc210bb79f28acad4bc78ce9ee8ff69ac7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/483624
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2026-02-26 11:54:34 -08:00
..