diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-04 16:28:30 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-04 16:28:30 +0000 |
commit | 66bf3a2279891ed621738fe988359758df881e41 (patch) | |
tree | b68371b08e2f8a18e0c3e39fecd92991749e7f0a /dom/script/ModuleLoadRequest.h | |
parent | 9b60e71109e9df98b5ecc7ffcc58284758fc8b82 (diff) | |
download | UXP-66bf3a2279891ed621738fe988359758df881e41.tar UXP-66bf3a2279891ed621738fe988359758df881e41.tar.gz UXP-66bf3a2279891ed621738fe988359758df881e41.tar.lz UXP-66bf3a2279891ed621738fe988359758df881e41.tar.xz UXP-66bf3a2279891ed621738fe988359758df881e41.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; |