summaryrefslogtreecommitdiffstats
path: root/dom/script/ModuleLoadRequest.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-04 10:35:22 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-10 18:30:30 +0000
commit1e14031a5940f6846f6ecce1b3c889b6a3d9b67a (patch)
tree24576100e20b270c9a027345d996996104809c38 /dom/script/ModuleLoadRequest.cpp
parent765c90318f192ba18848095133b0531c3162678d (diff)
downloadUXP-1e14031a5940f6846f6ecce1b3c889b6a3d9b67a.tar
UXP-1e14031a5940f6846f6ecce1b3c889b6a3d9b67a.tar.gz
UXP-1e14031a5940f6846f6ecce1b3c889b6a3d9b67a.tar.lz
UXP-1e14031a5940f6846f6ecce1b3c889b6a3d9b67a.tar.xz
UXP-1e14031a5940f6846f6ecce1b3c889b6a3d9b67a.zip
Issue #618 - Remove eager instantiation
This backs out the stuff added in Bug 1295978. Ref: BZ 1295978, 1388728
Diffstat (limited to 'dom/script/ModuleLoadRequest.cpp')
-rw-r--r--dom/script/ModuleLoadRequest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/dom/script/ModuleLoadRequest.cpp b/dom/script/ModuleLoadRequest.cpp
index 98106df1b..8871dcdab 100644
--- a/dom/script/ModuleLoadRequest.cpp
+++ b/dom/script/ModuleLoadRequest.cpp
@@ -86,11 +86,6 @@ ModuleLoadRequest::DependenciesLoaded()
// The module and all of its dependencies have been successfully fetched and
// compiled.
- if (!mLoader->InstantiateModuleTree(this)) {
- LoadFailed();
- return;
- }
-
SetReady();
mLoader->ProcessLoadedModuleTree(this);
mLoader = nullptr;