1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00
serenity/Libraries/LibJS
mattco98 23ec578a01 LibJS: Implement correct attributes for (almost) all properties
Added the ability to include a u8 attributes parameter with all of the
various put methods in the Object class. They can be omitted, in which
case it defaults to "Writable | Enumerable | Configurable", just like
before this commit.

All of the attribute values for each property were gathered from
SpiderMonkey in the Firefox console. Some properties (e.g. all of the
canvas element properties) have undefined property descriptors... not
quite sure what that means. Those were left as the default specified
above.
2020-04-28 09:29:50 +02:00
..
Heap LibJS: Add MarkedValueList and use it for argument passing 2020-04-19 17:34:33 +02:00
Runtime LibJS: Implement correct attributes for (almost) all properties 2020-04-28 09:29:50 +02:00
Tests LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00
AST.cpp LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00
AST.h LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00
Forward.h LibJS: Add Uint8ClampedArray :^) 2020-04-21 23:47:39 +02:00
Interpreter.cpp LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
Interpreter.h LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
Lexer.cpp LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00
Lexer.h LibJS: Handle HTML-style comments 2020-04-14 12:54:09 +02:00
Makefile LibJS: Add Uint8ClampedArray :^) 2020-04-21 23:47:39 +02:00
Parser.cpp LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00
Parser.h LibJS: Parse while statements 2020-04-22 11:48:14 +02:00
Token.cpp LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00
Token.h LibJS: Add spreading in array literals 2020-04-27 11:32:18 +02:00