summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Module.h
AgeCommit message (Collapse)Author
2023-01-09AK+Everywhere: Rename FlyString to DeprecatedFlyStringTimothy Flynn
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so let's rename it to A) match the name of DeprecatedString, B) write a new FlyString class that is tied to String.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-10-06LibJS: Add [[HostDefined]] field to ModulesnetworkException
This patch adds the [[HostDefined]] field defined in https://tc39.es/ecma262/#table-module-record-fields to module records. Co-authored-by: davidot <davidot@serenityos.org>
2022-09-06LibJS: Make Script and Module GC-allocatedAndreas Kling
This ensures that code currently in any active or saved execution stack always stays alive.
2022-03-16Libraries: Use default constructors/destructors in LibJSLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-08LibWeb: Introduce the Environment Settings ObjectLuke Wilde
The environment settings object is effectively the context a piece of script is running under, for example, it contains the origin, responsible document, realm, global object and event loop for the current context. This effectively replaces ScriptExecutionContext, but it cannot be removed in this commit as EventTarget still depends on it. https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object
2022-02-07LibJS: Reduce header dependency graph in Realm.hAndreas Kling
2022-02-07LibJS: Make ScriptOrModule use WeakPtr instead of raw pointersAndreas Kling
2022-01-22LibJS: Implement Module linking and evaluatingdavidot
2022-01-22LibJS: Add filename tracking to Script and Moduledavidot
This will allow us to resolve modules dynamically loaded from a script.
2021-09-14LibJS: Add a barebones Module classAndreas Kling
This corresponds to the "Abstract Module Record" from the spec.