Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: messageResponder.js

Issue 29339091: Noissue - Allow retrieving arbitrary info.* properties (Closed)
Patch Set: Created March 29, 2016, 9:50 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -175,10 +175,6 @@
callback({locale: Utils.appLocale, bidiDir: bidiDir});
}
- else if (message.what == "addonVersion")
- {
- callback(info.addonVersion);
- }
else if (message.what == "features")
{
callback({
@@ -189,7 +185,7 @@
});
}
else
- callback(null);
+ callback(info[message.what]);
break;
case "app.listen":
getListenerFilters(sender.page).app = message.filter;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld