1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:55:08 +00:00
serenity/Userland/Libraries/LibJS
Linus Groh 0e38c9b2f7 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%.
2021-06-11 00:23:13 +01:00
..
Bytecode LibJS: Basic bytecode support for computed member expressions 2021-06-11 00:36:18 +02:00
Heap LibJS: Notify WeakSets when heap cells are sweeped 2021-06-09 21:52:25 +01:00
Runtime LibJS: Set NativeError constructors' prototype to Error constructor 2021-06-11 00:23:13 +01:00
Tests LibJS: Pass in actual_delete_count to removed array creation in splice 2021-06-10 10:04:06 +01:00
AST.cpp LibJS: Switch AST.{h,cpp} to east const 2021-06-11 00:30:09 +02:00
AST.h LibJS: Switch AST.{h,cpp} to east const 2021-06-11 00:30:09 +02:00
CMakeLists.txt LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Console.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Perform function instantiation in bytecode 2021-06-10 21:59:49 +02:00
Interpreter.cpp LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Interpreter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Lexer.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
Lexer.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
MarkupGenerator.cpp LibJS: Handle Proxy with Array target in IsArray() abstract operation 2021-06-08 23:53:13 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Parser.h LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
SourceRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00