1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00
serenity/Userland/Libraries/LibJS
Idan Horowitz 5f09d78b9d LibJS: Bring the Array constructor slightly closer to the specification
Specifically, we now cast to a u32 instead of an i32, as well as use
the validity check required by the specification. The current
constructor is still quite far from the specification, as we directly
set the indexed properties' length instead of going through the Array's
overriden DefineOwnProperty. (and as a result the checks imposed by the
ArraySetLength abstract operation)
2021-06-30 12:35:24 +01:00
..
Bytecode LibCrypto: Replace from_base{2,8,10,16}() & to_base10 with from_base(N) 2021-06-29 16:55:54 +01:00
Heap LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
Runtime LibJS: Bring the Array constructor slightly closer to the specification 2021-06-30 12:35:24 +01:00
Tests LibJS/Tests: Fix toBeFalse() details prefix 2021-06-28 19:16:06 +01:00
AST.cpp LibCrypto: Replace from_base{2,8,10,16}() & to_base10 with from_base(N) 2021-06-29 16:55:54 +01:00
AST.h LibJS: Fix clang-tidy warnings in AST.h 2021-06-24 13:38:21 +02:00
CMakeLists.txt LibJS: Add the CreateMappedArgumentsObject abstract operation 2021-06-28 16:52:20 +02:00
Console.cpp LibJS: Rename CallFrame => ExecutionContext 2021-06-24 19:28:00 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
Interpreter.cpp LibJS: Rename ScriptFunction => OrdinaryFunctionObject 2021-06-27 22:36:04 +02:00
Interpreter.h LibJS: Split the per-call-frame environment into lexical and variable 2021-06-22 18:44:53 +02:00
Lexer.cpp LibJS+LibCrypto: Allow '_' as a numeric literal separator :^) 2021-06-26 16:30:35 +02:00
Lexer.h LibJS+LibCrypto: Allow '_' as a numeric literal separator :^) 2021-06-26 16:30:35 +02:00
MarkupGenerator.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp AK: Undo bogus Variant::downcast() rename 2021-06-26 21:27:58 +02:00
Parser.h LibJS: Correct behaviour of direct vs. indirect eval 2021-06-23 09:38:33 +01: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 LibJS+LibCrypto: Allow '_' as a numeric literal separator :^) 2021-06-26 16:30:35 +02:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00