mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 18:23:39 +00:00
This is taken from the abandoned error stacks proposal, which already serves as the source of truth for the setter. It only requires the this value to be an object - if it's not an Error object, the getter returns undefined. I have not compared this behavior to the non-standard implementations of the stack property in other engines, but presumably the spec authors already did that work. This change gets the Sentry browser SDK working to a point where it can actually send uncaught exceptions via the API :^) |
||
---|---|---|
.. | ||
Error.js | ||
Error.prototype.message.js | ||
Error.prototype.name.js | ||
Error.prototype.stack.js | ||
Error.prototype.toString.js |