summaryrefslogtreecommitdiffstats
path: root/dom/script/ModuleLoadRequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/script/ModuleLoadRequest.h')
-rw-r--r--dom/script/ModuleLoadRequest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/script/ModuleLoadRequest.h b/dom/script/ModuleLoadRequest.h
index 0119fad38..7b06dd2cf 100644
--- a/dom/script/ModuleLoadRequest.h
+++ b/dom/script/ModuleLoadRequest.h
@@ -45,9 +45,15 @@ public:
void Cancel() override;
void ModuleLoaded();
+ void ModuleErrored();
void DependenciesLoaded();
void LoadFailed();
+private:
+ void LoadFinished();
+ void CancelImports();
+
+public:
// Is this a request for a top level module script or an import?
bool mIsTopLevel;