mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 23:18:26 +00:00
Issue #618 - Clear the module map when changing a Document's global and add
release build assertions for mismatching compartments.
This commit is contained in:
@@ -477,6 +477,11 @@ ScriptLoader::GetFetchedModule(nsIURI* aURL) const
|
||||
return ms;
|
||||
}
|
||||
|
||||
void ScriptLoader::ClearModuleMap() {
|
||||
MOZ_ASSERT(mFetchingModules.IsEmpty());
|
||||
mFetchedModules.Clear();
|
||||
}
|
||||
|
||||
nsresult
|
||||
ScriptLoader::ProcessFetchedModuleSource(ModuleLoadRequest* aRequest)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user