Bug 1395892 Fix legacy badge in details view draft
authorAndrew Swan <aswan@mozilla.com>
Mon, 18 Sep 2017 15:34:32 -0700
changeset 666511 2e3c4db459dc36ce92e10bc798be7f1d3cef48b9
parent 666416 42151fcd6cfc216d147730d0f2c6a2acd52d22fd
child 732147 18515a5c94d6c5c08d8267f28e7537904e41ba76
push id80451
push useraswan@mozilla.com
push dateMon, 18 Sep 2017 22:35:58 +0000
bugs1395892
milestone57.0a1
Bug 1395892 Fix legacy badge in details view MozReview-Commit-ID: 2RQOvJYHLzm
toolkit/mozapps/extensions/content/extensions.js
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -3167,17 +3167,17 @@ var gDetailView = {
         // The logic here is kind of clunky but we want to mark complete
         // themes as legacy.  There's no explicit flag for complete
         // themes so explicitly check for new style themes (for which
         // isWebExtension is true) or lightweight themes (which have
         // ids that end with @personas.mozilla.org)
         legacy = !(aAddon.isWebExtension || aAddon.id.endsWith("@personas.mozilla.org"));
       }
 
-      if (legacy && aAddon.signedStatus == AddonManager.SIGNEDSTATE_PRIVILEGED) {
+      if (legacy && aAddon.signedState == AddonManager.SIGNEDSTATE_PRIVILEGED) {
         legacy = false;
       }
 
       // Exceptions that can slip through above: the default theme plus
       // test pilot addons until we get SIGNEDSTATE_PRIVILEGED deployed.
       if (legacy && legacyWarningExceptions.includes(aAddon.id)) {
         legacy = false;
       }