Bug 1769029 - Support ESM loaded by shim in Cu.loadedModules. r=yulia

Differential Revision: https://phabricator.services.mozilla.com/D146169
This commit is contained in:
Tooru Fujisawa
2022-05-13 22:02:41 +00:00
parent f4baa774e4
commit 3ea23a282e
6 changed files with 70 additions and 2 deletions

View File

@@ -277,6 +277,8 @@ class ModuleLoaderBase : public nsISupports {
// Returns true if the module for given URL is already fetched.
bool IsModuleFetched(nsIURI* aURL) const;
nsresult GetFetchedModuleURLs(nsTArray<nsCString>& aURLs);
// Internal methods.
private: