1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:15:07 +00:00
serenity/Userland/Libraries/LibJS
Linus Groh 7b92889e6b LibJS: Change Interpreter::create_with_existing_{global_object => realm}
We need both a GlobalObject and Realm now, but can get the former from
the latter (once initialized).
This also fixes JS execution in LibWeb, as we failed to set the Realm of
the newly created Interpreter in this function.
2021-09-12 15:18:25 +02:00
..
Bytecode LibJS: Move the GlobalEnvironment from GlobalObject to Realm 2021-09-12 11:10:20 +01:00
Heap LibJS: Fix ASAN poisoning range in new HeapBlocks 2021-09-11 17:00:07 +02:00
Runtime LibJS: Change Interpreter::create_with_existing_{global_object => realm} 2021-09-12 15:18:25 +02:00
Tests LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
AST.cpp LibJS: Use move semantics more when creating Reference objects 2021-09-11 20:38:45 +02:00
AST.h LibJS: Add support for public fields in classes 2021-09-01 13:39:14 +01:00
CMakeLists.txt LibJS: Start adding a JS::Realm class (spec's "Realm Record") 2021-09-12 11:10:20 +01: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: Start adding a JS::Realm class (spec's "Realm Record") 2021-09-12 11:10:20 +01:00
Interpreter.cpp LibJS: Change Interpreter::create_with_existing_{global_object => realm} 2021-09-12 15:18:25 +02:00
Interpreter.h LibJS: Change Interpreter::create_with_existing_{global_object => realm} 2021-09-12 15:18:25 +02:00
Lexer.cpp LibJS: Share "parsed identifiers" between copied JS::Lexer instances 2021-09-10 23:18:00 +02:00
Lexer.h LibJS: Share "parsed identifiers" between copied JS::Lexer instances 2021-09-10 23:18:00 +02:00
MarkupGenerator.cpp LibJS: Remove unused includes out of Cell.h, move to the users 2021-08-01 08:10:16 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibJS: Fix that windows style line endings were not ignored or converted 2021-09-06 08:43:38 +01:00
Parser.h AK: Replace the mutable String::replace API with an immutable version 2021-09-11 20:36:43 +03:00
Script.cpp LibJS+LibWeb: Make JS::Script and Web::HTML::ClassicScript use Realms 2021-09-12 15:18:25 +02:00
Script.h LibJS+LibWeb: Make JS::Script and Web::HTML::ClassicScript use Realms 2021-09-12 15:18:25 +02:00
SourceRange.h LibJS: Implement parsing and evaluation for AssignmentPatterns 2021-07-11 21:41:54 +01:00
SyntaxHighlighter.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp AK: Replace the mutable String::replace API with an immutable version 2021-09-11 20:36:43 +03:00
Token.h LibJS: Clean up token constructor and use method instead for identifiers 2021-09-06 08:43:38 +01:00