summaryrefslogtreecommitdiffstats
path: root/dom/script/ScriptLoader.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-08-02 12:46:52 -0400
committerMoonchild <moonchild@palemoon.org>2020-08-30 09:36:41 +0000
commitfe912e94e44c4a6dfac1a75c265084f77adfd6ae (patch)
tree91e0c9ea2406e1101dd82f95a05a865f0c67f010 /dom/script/ScriptLoader.h
parent770b1c9071d379c74b8e68c4c7488365b60ff08f (diff)
downloadUXP-fe912e94e44c4a6dfac1a75c265084f77adfd6ae.tar
UXP-fe912e94e44c4a6dfac1a75c265084f77adfd6ae.tar.gz
UXP-fe912e94e44c4a6dfac1a75c265084f77adfd6ae.tar.lz
UXP-fe912e94e44c4a6dfac1a75c265084f77adfd6ae.tar.xz
UXP-fe912e94e44c4a6dfac1a75c265084f77adfd6ae.zip
Issue #618 - Simplify module map interface
Ref: BZ 1365187
Diffstat (limited to 'dom/script/ScriptLoader.h')
-rw-r--r--dom/script/ScriptLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/script/ScriptLoader.h b/dom/script/ScriptLoader.h
index db2eeed31..955ac2cb7 100644
--- a/dom/script/ScriptLoader.h
+++ b/dom/script/ScriptLoader.h
@@ -572,8 +572,8 @@ private:
bool IsFetchingModule(ModuleLoadRequest *aRequest) const;
- bool ModuleMapContainsModule(ModuleLoadRequest *aRequest) const;
- RefPtr<mozilla::GenericPromise> WaitForModuleFetch(ModuleLoadRequest *aRequest);
+ bool ModuleMapContainsURL(nsIURI* aURL) const;
+ RefPtr<mozilla::GenericPromise> WaitForModuleFetch(nsIURI* aURL);
ModuleScript* GetFetchedModule(nsIURI* aURL) const;
friend bool