1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 17:34:59 +00:00
serenity/Userland/Libraries/LibJS
Luke Wilde 05748ed607 LibJS: Convert Console to use MarkedVector<Value>
Using a Vector<Value> is unsafe as GC cannot see the stored values.
This is then vended to outside users of ConsoleClient, e.g. LibWeb and
WebContent, which is then outside of LibJS's control.

An example issue is if the client stores it for later use and forgets
to visit the stored values, meaning they can be destroyed at any time.
We can save the client from this by vending a MarkedVector<Value> to
them.
2022-05-07 01:22:09 +02:00
..
Bytecode LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Contrib/Test262 LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Heap LibJS: Make Handle<Value>::is_null() also consider the contained value 2022-04-05 11:46:48 +02:00
Runtime LibJS: Convert remaining Date AOs using JS::Value as in/output to double 2022-05-06 22:32:47 +02:00
Tests LibJS: Reject -00000 as extended year in Date parsing 2022-04-30 21:36:27 +02:00
AST.cpp LibJS: Use more consistent wording for creating empty lists 2022-05-03 22:49:31 +02:00
AST.h LibJS: De-duplicate ClassFieldDefinition Records 2022-04-20 00:08:32 +02:00
CMakeLists.txt LibJS: Add AsyncGenerator / AsyncGeneratorPrototype 2022-05-05 22:40:57 +02:00
Console.cpp LibJS: Convert Console to use MarkedVector<Value> 2022-05-07 01:22:09 +02:00
Console.h LibJS: Convert Console to use MarkedVector<Value> 2022-05-07 01:22:09 +02:00
CyclicModule.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
CyclicModule.h LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Forward.h LibJS: Add AsyncGenerator / AsyncGeneratorPrototype 2022-05-05 22:40:57 +02:00
Interpreter.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Interpreter.h LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Lexer.cpp LibJS: Always inline Lexer::current_code_point() 2022-02-13 14:44:36 +01:00
Lexer.h LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
MarkupGenerator.cpp LibJS: Remove a bunch of gratuitous JS namespace qualifiers 2022-04-03 15:19:33 +01:00
MarkupGenerator.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Module.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
Module.h Libraries: Use default constructors/destructors in LibJS 2022-03-16 16:19:40 +00:00
Parser.cpp LibJS: Update a couple of outdated spec comments 2022-05-01 22:47:38 +02:00
Parser.h LibJS: Add missing steps and spec comments to PerformEval 2022-04-11 21:23:36 +01:00
Script.cpp LibJS: Rename some variables from "script body" to "script" 2022-05-01 22:47:38 +02:00
Script.h Libraries: Use default constructors/destructors in LibJS 2022-03-16 16:19:40 +00:00
SourceRange.h LibJS: Add missing headers 2021-10-06 23:52:40 +01:00
SourceTextModule.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SourceTextModule.h LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SyntaxHighlighter.cpp LibJS: Remove a bunch of gratuitous JS namespace qualifiers 2022-04-03 15:19:33 +01:00
SyntaxHighlighter.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
SyntheticModule.cpp LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
SyntheticModule.h LibJS: Add support for JSON modules 2022-01-30 17:40:20 +00:00
Token.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Token.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00