1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

LibJS: Add host layering point related to modules to VM

Also make HostResolveImportedModule fail on the browser to prevent
module loading for now.
This commit is contained in:
davidot 2022-01-18 19:14:25 +01:00 committed by Linus Groh
parent 0b89dbc529
commit be9d478d92
3 changed files with 14 additions and 0 deletions

View file

@ -170,6 +170,7 @@ class Script;
class Shape;
class Statement;
class StringOrSymbol;
class SourceTextModule;
class Symbol;
class Token;
class Utf16String;
@ -180,6 +181,7 @@ class WrappedFunction;
enum class DeclarationKind;
struct AlreadyResolved;
struct JobCallback;
struct ModuleRequest;
struct PromiseCapability;
// Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct prototype