1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 10:51:00 +00:00
serenity/Libraries/LibJS
Andreas Kling 668e73df8a LibJS: Make Interpreter::in_strict_mode() work outside of scope
This one is a little weird. I don't know why it's okay for this
function to assume that there is a current scope on the scope stack
when it can be called during global object initialization etc.

For now, just make it say "we are in strict mode" when there is no
currently active scope.
2020-09-20 19:16:34 +02:00
..
Heap LibJS: Add a helper for calling JS::Function's with arguments 2020-08-26 08:45:01 +02:00
Runtime LibJS: Don't allocate property table during GC marking phase 2020-09-20 19:11:49 +02:00
Tests LibJS: Handle getter exception in JSONObject::serialize_json_property() 2020-09-19 14:17:22 +02:00
AST.cpp LibJS: Do not revisit already visited values in update_function_name() 2020-09-19 00:33:56 +02:00
AST.h LibJS: Mark more ASTNode classes as final 2020-09-18 20:49:35 +02:00
CMakeLists.txt LibJS: Add StringIterator 2020-07-13 15:07:29 +02:00
Console.cpp LibJS: Eliminate some (unnecessary) Vector copies 2020-09-08 13:43:03 +02:00
Console.h LibJS: Move Interpreter::get_trace() to ConsoleClient 2020-06-02 15:22:34 +02:00
Forward.h LibWeb: Make btoa() and atob() correctly handle values between 128 and 255 2020-07-22 19:22:00 +02:00
Interpreter.cpp LibJS: Extract most of Interpreter's run() into execute_statement() 2020-09-12 09:31:16 +02:00
Interpreter.h LibJS: Make Interpreter::in_strict_mode() work outside of scope 2020-09-20 19:16:34 +02:00
Lexer.cpp LibJS: Fix start position of multi-line tokens 2020-09-12 00:13:29 +02:00
Lexer.h LibJS: Lex and parse regex literals, add RegExp objects 2020-06-07 19:06:55 +02:00
MarkupGenerator.cpp Browser: Escape JS source operators for HTML display in console 2020-07-23 23:01:16 +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: Add FIXMEs for parsing increment operators with function LHS/RHS 2020-09-18 20:49:35 +02:00
Parser.h LibJS: Parser refactored to use constexpr precedence table 2020-08-21 16:14:14 +02:00
Token.cpp LibJS: Add missing reserved words to Token::is_identifier_name() 2020-08-14 10:58:51 +02:00
Token.h LibJS: Parser refactored to use constexpr precedence table 2020-08-21 16:14:14 +02:00