Add built-in extension "URL" to _loadedExtensions
Dupe prevention works better when you actually record the necessary info...
This commit is contained in:
1 parent
ae878b2050
commit
8bb48e2a53
1 file changed
+3
-1
@@ -116,7 +116,9 @@ class ExtensionManager {
|
||||
|
||||
const extension = builtinExtensions[extensionURL];
|
||||
const extensionInstance = new extension(this.runtime);
|
||||
return this._registerInternalExtension(extensionInstance);
|
||||
return this._registerInternalExtension(extensionInstance).then(() => {
|
||||
this._loadedExtensions.add(extensionURL);
|
||||
});
|
||||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in new issue
Block a user