Hello all, I previously sent an Intent To Prototype for Error.captureStackTrace [1]. I now intend to ship this in https://bugzilla.mozilla.org/show_bug.cgi?id=1950508
Error.captureStackTrace stamps a "stack" property onto an object, potentially trimming the stack to hide internal API methods, allowing a modicum of stack customization. See MDN for the wonderful docs [2]. We are shipping to address web-compat problems caused by being the only browser to not have an implementation of this API. In parallel to shipping I am pursuing standardization at TC39. The proposal [3] is now at Stage 1 of the TC39 process. -- Matthew Gaudet [1]: https://groups.google.com/a/mozilla.org/g/dev-platform/c/biPiIfYZjRA/m/7Hz2jmqeBgAJ [2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/captureStackTrace [3]: https://github.com/tc39/proposal-error-capturestacktrace -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAK1KXSYf2Rwjfdnc40pgycP40yvUNpqzNvrhjR%2BDdjHY0%3DuVvA%40mail.gmail.com.
