diff options
author | Linus Groh <mail@linusgroh.de> | 2021-06-11 00:20:27 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-11 00:23:13 +0100 |
commit | 0e38c9b2f76bc4877dec7447b700c5651f181ace (patch) | |
tree | b8dd13d9d14c6198846c20cc5af53c381c0162eb /Userland/Applications/PixelPaint/BrushTool.h | |
parent | 70fc0a528c8123e268139f5a1891d00b96ff4c0f (diff) | |
download | serenity-0e38c9b2f76bc4877dec7447b700c5651f181ace.zip |
LibJS: Set NativeError constructors' prototype to Error constructor
The FunctionPrototype is correct for ErrorConstructor itself:
20.5.2 Properties of the Error Constructor
The Error constructor:
- has a [[Prototype]] internal slot whose value is
%Function.prototype%.
However, not for all the other "NativeError" constructors:
20.5.6.2 Properties of the NativeError Constructors
Each NativeError constructor:
- has a [[Prototype]] internal slot whose value is %Error%.
Diffstat (limited to 'Userland/Applications/PixelPaint/BrushTool.h')
0 files changed, 0 insertions, 0 deletions