ladybird/Libraries/LibJS
Timothy Flynn ada36e5c0a LibJS: Allow async functions named "async" as function properties
For example, https://locals.com/site/discover has a script with an
object of the form:

    var f = {
        parser: {
            sync() {},
            async async() {},
        }
    };

We were previously throwing a syntax error on the async function, as we
specifically did not allow using "async" as a function name here.
2024-12-26 17:23:10 +01:00
..
Bytecode LibJS: Return the allocated dst register from deleting super properties 2024-12-14 12:08:50 -08:00
Contrib/Test262 LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Heap LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Runtime LibJS: Avoid internal assertion accessing detached TA internal slots 2024-12-13 07:09:39 -08:00
Tests LibJS: Allow async functions named "async" as function properties 2024-12-26 17:23:10 +01:00
AST.cpp Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
AST.h Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
CMakeLists.txt LibJS: Remove compile flag for Windows 2024-12-08 17:37:26 -07:00
Console.cpp LibJS: Make output_debug_message accept a StringView 2024-12-04 16:34:13 +00:00
Console.h LibJS: Make output_debug_message accept a StringView 2024-12-04 16:34:13 +00:00
CyclicModule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CyclicModule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Forward.h LibJS: Implement the Temporal.ZonedDateTime constructor 2024-11-26 11:00:56 +01:00
Lexer.cpp LibJS: Extract some JS lexer helpers to free functions 2024-12-05 13:56:21 +01:00
Lexer.h LibJS: Extract some JS lexer helpers to free functions 2024-12-05 13:56:21 +01:00
MarkupGenerator.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MarkupGenerator.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Module.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Module.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ModuleLoading.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Parser.cpp LibJS: Allow async functions named "async" as function properties 2024-12-26 17:23:10 +01:00
Parser.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ParserError.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ParserError.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Position.h LibJS: Cache source code positions more often 2024-12-02 11:42:11 +01:00
Print.cpp LibJS: Implement the Temporal.ZonedDateTime constructor 2024-11-26 11:00:56 +01:00
Print.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Script.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Script.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SourceCode.cpp LibJS: Cache source code positions more often 2024-12-02 11:42:11 +01:00
SourceCode.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SourceRange.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SourceTextModule.cpp LibJS: Perform TLA async function construction in the module context 2024-11-15 18:52:22 +01:00
SourceTextModule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SyntaxHighlighter.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SyntaxHighlighter.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SyntheticModule.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SyntheticModule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Token.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Token.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00