summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-01-18 19:14:25 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-22 01:21:18 +0000
commitbe9d478d923d6b0aa35b3ed3d2d7950068b294d8 (patch)
tree8084c985df11c4d6c9963a033cdc0f072416a74f /Userland/Libraries/LibJS/Forward.h
parent0b89dbc529cd5e0c1abe28318a638eba7450034a (diff)
downloadserenity-be9d478d923d6b0aa35b3ed3d2d7950068b294d8.zip
LibJS: Add host layering point related to modules to VM
Also make HostResolveImportedModule fail on the browser to prevent module loading for now.
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r--Userland/Libraries/LibJS/Forward.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h
index a7d61fad31..13802349cd 100644
--- a/Userland/Libraries/LibJS/Forward.h
+++ b/Userland/Libraries/LibJS/Forward.h
@@ -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