You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Champions**: Matthew Gaudet (Mozilla), Daniel Minor (Mozilla)
6
6
@@ -10,6 +10,10 @@ In August 2023, [JSC also shipped this method](https://github.com/WebKit/WebKit/
10
10
11
11
This method [has now turned into a web-compatability problem](https://bugzilla.mozilla.org/show_bug.cgi?id=1886820), and as a result we should now standardize it.
12
12
13
+
NOTE: We're pausing work on this proposal while waiting to see what happens with two related proposals: [Error option limit](https://github.com/tc39/proposal-error-limit-option)
14
+
and [Error option framesAbove](https://github.com/tc39/proposal-error-frames-above). If these proposals advance, are implemented, and replace enough of the current use of
15
+
`Error.captureStrackTrace` we may be able to avoid standardizing it.
16
+
13
17
## `Error.captureStackTrace`
14
18
15
19
To quote the [V8 documentation](https://v8.dev/docs/stack-trace-api):
@@ -56,6 +60,7 @@ The text for the contents of the stack string should probably be something along
56
60
- The [Error Stack Accessor](https://github.com/tc39/proposal-error-stack-accessor) proposal could be the other route by which the spec starts to talk about stacks. Note that `Error.captureStackTrace` works with any object, whereas the stack accessor proposal only works with `Error` instances, so the two proposals are solving different problems.
57
61
58
62
## History
63
+
- Presented November 2025, and achieved Stage 2 [notes](https://github.com/tc39/notes/blob/main/meetings/2025-11/november-18.md#errorcapturestacktrace-for-stage-2)
59
64
- Presented February 2025, and achieved Stage 1 [notes](https://github.com/tc39/notes/blob/main/meetings/2025-02/february-19.md#errorcapturestacktrace-for-stage-1)
60
65
- Presented July 2025 [notes](https://github.com/tc39/notes/blob/main/meetings/2025-07/july-29.md#errorcapturestacktrace)
61
66
- Discussed at TG3 weekly meeting, October 8, 2025.
0 commit comments