[X2Go-Commits] [pale-moon] 09/102: [WebExAM] Use proper application name in WebExtension API error message.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 25 23:25:42 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch upstream/28.4.0
in repository pale-moon.
commit c80c9cc4020be922207dfb136541c0f9b8eba1b5
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date: Mon Jan 14 23:00:32 2019 +0100
[WebExAM] Use proper application name in WebExtension API error message.
---
toolkit/components/webextensions/ExtensionUtils.jsm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/toolkit/components/webextensions/ExtensionUtils.jsm b/toolkit/components/webextensions/ExtensionUtils.jsm
index e7f768c..04e767c 100644
--- a/toolkit/components/webextensions/ExtensionUtils.jsm
+++ b/toolkit/components/webextensions/ExtensionUtils.jsm
@@ -990,7 +990,8 @@ function findPathInObject(obj, path, printErrors = true) {
for (let elt of path.split(".")) {
if (!obj || !(elt in obj)) {
if (printErrors) {
- Cu.reportError(`WebExtension API ${path} not found (it may be unimplemented by Firefox).`);
+ let appname = Services.appinfo.name;
+ Cu.reportError(`WebExtension API ${path} not found (it may be unimplemented by ${appname}).`);
}
return null;
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list