1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00
serenity/Libraries/LibJS
Matthew Olsson 79958f4520 LibJS: Add PropertyDescriptor object
This new struct is now returned from get_own_property_descriptor. To
preserve the old functionality of returning an object, there is now a
get_own_property_descriptor_object method, for use in
{Object,Reflect}.getOwnPropertyDescriptor().

This change will be useful for the implementation of Proxies, which do a
lot of descriptor checks. We want to avoid as many object gets and puts
as possible.
2020-06-06 22:13:01 +02:00
..
Heap LibJS: Fix undefined behavior in HeapBlock 2020-06-01 17:37:44 +02:00
Runtime LibJS: Add PropertyDescriptor object 2020-06-06 22:13:01 +02:00
Tests LibJS: Fix rest-params test to take function hoisting into account 2020-06-06 10:53:06 +02:00
AST.cpp LibJS: Distinguish between omitted descriptor attributes and false ones 2020-06-06 22:13:01 +02:00
AST.h LibJS: Hoist function declarations 2020-06-06 10:53:06 +02:00
CMakeLists.txt LibJS: Object index properties have descriptors; Handle sparse indices 2020-05-28 17:17:13 +02:00
Console.cpp LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Console.h LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Forward.h LibJS: Create JS to HTML markup generator 2020-05-26 10:17:50 +02:00
Interpreter.cpp LibJS: Hoist function declarations 2020-06-06 10:53:06 +02:00
Interpreter.h LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Lexer.cpp LibJS: Fix incorrect token column values (#2401) 2020-05-26 19:00:30 +02:00
Lexer.h LibJS: Fix incorrect token column values (#2401) 2020-05-26 19:00:30 +02:00
MarkupGenerator.cpp LibJS: Add all remaining tokens to MarkupGenerator's style converter 2020-05-29 22:14:45 +02:00
MarkupGenerator.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Parser.cpp LibJS: Hoist function declarations 2020-06-06 10:53:06 +02:00
Parser.h LibJS: Hoist function declarations 2020-06-06 10:53:06 +02:00
Token.cpp LibJS: Fix out-of-bounds read when parsing escape sequences 2020-06-01 17:37:44 +02:00
Token.h LibJS: Handle hex and unicode escape sequences in string literals 2020-05-18 17:58:17 +02:00