diff options
author | Linus Groh <mail@linusgroh.de> | 2021-04-14 10:02:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 10:11:04 +0200 |
commit | ea60b344eb76b7fdc9569f32b09d0c378fa09cf0 (patch) | |
tree | 96de13ee72fe16282df494e08447f74722fc8d59 /Userland/Libraries/LibCore | |
parent | 1aec9a508e34a0300e432e0414457e8086697a97 (diff) | |
download | serenity-ea60b344eb76b7fdc9569f32b09d0c378fa09cf0.zip |
LibJS: Add name and message properties to NativeError prototypes
Otherwise these will get their name/default message from the Error
prototype, and as a result would always just say "Error" in error
messages, not the specific type.
Something I missed in da177c6, now with tests. :^)
Diffstat (limited to 'Userland/Libraries/LibCore')
0 files changed, 0 insertions, 0 deletions