1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland
Linus Groh fb60ada6ce LibJS: Handle non-Error this object in Error.prototype.stack getter
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 :^)
2022-03-15 17:32:48 +01:00
..
Applets LibGfx: Rename Color::from_rgba() => Color::from_argb() 2022-03-04 23:40:21 +01:00
Applications Spreadsheet: Move tab widget actions to the main widget constructor 2022-03-15 12:01:27 +03:30
Demos Kernel: Sandbox each GPU3DDevice file description into own host context 2022-03-14 17:38:18 +03:30
DevTools AK+Everywhere: Add sincos and use it in some places 2022-03-15 11:39:42 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games LibGfx: Rename Color::from_rgba() => Color::from_argb() 2022-03-04 23:40:21 +01:00
Libraries LibJS: Handle non-Error this object in Error.prototype.stack getter 2022-03-15 17:32:48 +01:00
Services AudioServer: Decrease sample headroom to 5% 2022-03-14 22:46:46 +01:00
Shell Shell: Stop parsing options after the script name 2022-03-11 08:41:21 +03:30
Utilities Utilities: Add an lscpu utility 2022-03-15 15:44:17 +00:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00