Bug 1342012 - Support dynamic import from classic scripts by creating ClassicScript objects and associating them with the compiled JSScriptsr r=smaug

This commit is contained in:
Jon Coppeard
2018-12-06 16:52:17 -05:00
parent accbd30ca2
commit 2ff479b8d2
13 changed files with 74 additions and 75 deletions

View File

@@ -273,6 +273,9 @@ class ScriptLoadRequest
// Holds the Cache information, which is used to register the bytecode
// on the cache entry, such that we can load it the next time.
nsCOMPtr<nsICacheInfoChannel> mCacheInfo;
// The base URL used for resolving relative module imports.
nsCOMPtr<nsIURI> mBaseURL;
};
class ScriptLoadRequestList : private mozilla::LinkedList<ScriptLoadRequest> {