ladybird/Libraries/LibJS
Linus Groh d1d9545875 LibJS: Add missing reserved words to Token::is_identifier_name()
This is being used in match_identifier_name(), for example when parsing
property keys - the list was incomplete, likely as some token types were
added later, leading to some unexpected syntax errors:

> var e = {};
undefined
> e.extends = "a";
e.extends = "a";
  ^
Uncaught exception: [SyntaxError]: Unexpected token Extends. Expected IdentifierName (line: 1, column: 3)

Fixes #3128.
2020-08-14 10:58:51 +02:00
..
Heap LibJS: Simplify Cell::initialize() 2020-07-23 17:31:08 +02:00
Runtime Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Tests LibJS: Add tests for bitwise & and ^ 2020-07-23 13:06:49 +02:00
AST.cpp LibJS: Soothe gcc about printf-%s on (non-)nullptr 2020-07-28 19:10:10 +02:00
AST.h LibJS: Initial class implementation; allow super expressions in object 2020-06-29 17:54:54 +02:00
CMakeLists.txt LibJS: Add StringIterator 2020-07-13 15:07:29 +02:00
Console.cpp
Console.h
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: Assert when exception is not cleared before Interpreter::run() 2020-08-11 21:08:30 +02:00
Interpreter.h LibJS: Use macros to enumerate well-known symbols 2020-07-11 18:54:13 +02:00
Lexer.cpp
Lexer.h
MarkupGenerator.cpp Browser: Escape JS source operators for HTML display in console 2020-07-23 23:01:16 +02:00
MarkupGenerator.h
Parser.cpp Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Parser.h LibJS: Initial class implementation; allow super expressions in object 2020-06-29 17:54:54 +02:00
Token.cpp LibJS: Add missing reserved words to Token::is_identifier_name() 2020-08-14 10:58:51 +02:00
Token.h