Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaudet authored Dec 2, 2024
1 parent 91c33c3 commit 5d4bb9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ To quote the [V8 documentation](https://v8.dev/docs/stack-trace-api):
Unfortunately, the JSC implementation diverges from the V8 one:

- JSC attaches a string valued prop to the object provided, where V8 instead installs their stack-getter function.
- It uses the JSC stack string format.

I would actually like to specify this like the JSC one. It's simpler.
I would actually like to specify this like the JSC one. It's simpler. Similarly, the text for the contents of the stack string should probably be something along the lines of

> The contents of the stack string is a textual representation of the [execution context stack](https://tc39.es/ecma262/#execution-context-stack), however the actual format and contents are implemetation defined and should not be relied upon to be identical across implementations.

## Related Work

- The [Error Stacks](https://github.com/mgaudet/proposal-error-capturestacktrace) proposal is almost a pre-requisite for this, as mostly the current spec doesn't really talk about stacks. However, for this proposal I'd argue

0 comments on commit 5d4bb9b

Please sign in to comment.