v8::Exception::CaptureStackTrace API addition

41 views
Skip to first unread message

James Snell

unread,
Feb 24, 2024, 2:36:16 PM2/24/24
to v8-dev
Currently, for an embedder implementing a custom Web platform API like DOMException, it's a bit convoluted to capture the `stack` property. I'd like to contribute an implementation of a new C++ API `v8::Exception::CaptureStackTrace(...)` that would allow an embedder to attach the `stack` property to a given object.


Not accounting for tests, the change itself is limited to v8-exception.h and api.cc

Reply all
Reply to author
Forward
0 new messages