diff options
Diffstat (limited to '')
-rw-r--r-- | testing/specialpowers/content/SpecialPowersParent.sys.mjs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/specialpowers/content/SpecialPowersParent.sys.mjs b/testing/specialpowers/content/SpecialPowersParent.sys.mjs index e0ce35bb67..a21527755f 100644 --- a/testing/specialpowers/content/SpecialPowersParent.sys.mjs +++ b/testing/specialpowers/content/SpecialPowersParent.sys.mjs @@ -1341,9 +1341,7 @@ export class SpecialPowersParent extends JSWindowActorParent { let id = aMessage.data.id; let extension = this._extensions.get(id); this._extensions.delete(id); - return extension.shutdown().then(() => { - return extension._uninstallPromise; - }); + return lazy.ExtensionTestCommon.unloadTestExtension(extension); } case "SPExtensionTerminateBackground": { |