diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-04 16:28:30 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-10 18:30:48 +0000 |
commit | f6a6900a6b14d1d54da46370015b28d4d8a152a7 (patch) | |
tree | 6af248540f32f4427e9a01164804aca505aae379 /dom/script/ModuleLoadRequest.h | |
parent | 40aad1a2209607b973170f4fb64548e5d8103402 (diff) | |
download | UXP-f6a6900a6b14d1d54da46370015b28d4d8a152a7.tar UXP-f6a6900a6b14d1d54da46370015b28d4d8a152a7.tar.gz UXP-f6a6900a6b14d1d54da46370015b28d4d8a152a7.tar.lz UXP-f6a6900a6b14d1d54da46370015b28d4d8a152a7.tar.xz UXP-f6a6900a6b14d1d54da46370015b28d4d8a152a7.zip |
Issue #618 - Further align error handling for module scripts with the spec
Ref: BZ 1388728
Diffstat (limited to 'dom/script/ModuleLoadRequest.h')
-rw-r--r-- | dom/script/ModuleLoadRequest.h | 6 |
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; |