mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Enhanced WebExtension support + detailed reason on why a extension is "corrupt"
This commit is contained in:
parent
257ddfa48d
commit
c961f4e45c
4 changed files with 60 additions and 7 deletions
|
|
@ -334,6 +334,12 @@ const gXPInstallObserver = {
|
|||
|
||||
messageString = gNavigatorBundle.getFormattedString(error, args);
|
||||
|
||||
if (install.error == AddonManager.ERROR_CORRUPT_FILE &&
|
||||
install.errorDetail &&
|
||||
typeof install.errorDetail == "string") {
|
||||
messageString += "\n" + "Details: " + install.errorDetail;
|
||||
}
|
||||
|
||||
PopupNotifications.show(browser, notificationID, messageString, anchorID,
|
||||
action, null, options);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue