Merge m-c to inbound. a=merge
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 19 Aug 2016 10:13:51 -0400
changeset 403450 ca7974ddccc11ec992834b8563d381d16b56ee42
parent 403449 9b38b8ba8f9c82cc96a401e7ad9b4cc6ba54ad58 (current diff)
parent 403340 23c2ec5544b9e0a74a047b87b594e4c36a8fe95c (diff)
child 403451 84dcc03312fd8bf5f239d1ef9130b45aec241081
push id26920
push userbmo:tchiovoloni@mozilla.com
push dateFri, 19 Aug 2016 21:00:16 +0000
reviewersmerge
milestone51.0a1
Merge m-c to inbound. a=merge
--- a/toolkit/components/extensions/ext-management.js
+++ b/toolkit/components/extensions/ext-management.js
@@ -12,16 +12,17 @@ function installType(addon) {
     return "sideload";
   } else if (addon.isSystem) {
     return "other";
   }
   return "normal";
 }
 
 extensions.registerSchemaAPI("management", context => {
+  let {extension} = context;
   return {
     management: {
       getSelf: function() {
         return new Promise((resolve, reject) => AddonManager.getAddonByID(extension.id, addon => {
           try {
             let m = extension.manifest;
             let extInfo = {
               id: extension.id,