From adfb075512aa4a70f03a750ba36a97a6d8677b9b Mon Sep 17 00:00:00 2001 From: Andrew Swan Date: Thu, 23 Feb 2017 21:47:08 -0800 Subject: [PATCH] Bug 1337870 Skip truncation of addon names r=mossop MozReview-Commit-ID: 9v4yJPvpT2R --HG-- extra : rebase_source : 70ef154c0d5687025147486a8b52e9bcdaacaef7 --- browser/modules/ExtensionsUI.jsm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/browser/modules/ExtensionsUI.jsm b/browser/modules/ExtensionsUI.jsm index b9ba149fa3f1..3fc8bd8a0d4a 100644 --- a/browser/modules/ExtensionsUI.jsm +++ b/browser/modules/ExtensionsUI.jsm @@ -192,11 +192,7 @@ this.ExtensionsUI = { let bundle = Services.strings.createBundle(BROWSER_PROPERTIES); - let name = info.addon.name; - if (name.length > 50) { - name = name.slice(0, 49) + "…"; - } - name = this._sanitizeName(name); + let name = this._sanitizeName(info.addon.name); let addonName = `${name}`; result.header = bundle.formatStringFromName("webextPerms.header", [addonName], 1);