Bug 1337870 Skip truncation of addon names r=mossop

MozReview-Commit-ID: 9v4yJPvpT2R

--HG--
extra : rebase_source : 70ef154c0d5687025147486a8b52e9bcdaacaef7
This commit is contained in:
Andrew Swan 2017-02-23 21:47:08 -08:00
parent 7e1638ed14
commit adfb075512

View File

@ -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 = `<span class="addon-webext-name">${name}</span>`;
result.header = bundle.formatStringFromName("webextPerms.header", [addonName], 1);