Bug 1213990 Do immediate uninstall for test webextensions r?kmag draft
authorAndrew Swan <aswan@mozilla.com>
Fri, 22 Jul 2016 10:16:55 -0700
changeset 397659 d3e95c24e70ce90ef66a0f6b71dacdb57d5476a7
parent 397658 d42aacfe34af25e2f5110e2ca3d24a210eabeb33
child 397660 ae206a96200cc93250e9876dcab0a45a7d8340e6
push id25345
push useraswan@mozilla.com
push dateSun, 07 Aug 2016 17:04:11 +0000
reviewerskmag
bugs1213990
milestone51.0a1
Bug 1213990 Do immediate uninstall for test webextensions r?kmag MozReview-Commit-ID: 9vcAfPhRYFi
toolkit/components/extensions/Extension.jsm
--- a/toolkit/components/extensions/Extension.jsm
+++ b/toolkit/components/extensions/Extension.jsm
@@ -1168,17 +1168,17 @@ class MockExtension {
           install.install();
         });
       });
     }
     throw new Error("installType must be one of: temporary, permanent");
   }
 
   shutdown() {
-    this.addon.uninstall(true);
+    this.addon.uninstall();
     return this.cleanupGeneratedFile();
   }
 
   cleanupGeneratedFile() {
     flushJarCache(this.file);
     return OS.File.remove(this.file.path);
   }
 }