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

Unified Diff: chrome/ext/common.js

Issue 6327452271902720: Pass return value of ext.onMessage listener through to chrome.runtime.onMessage (Closed)
Patch Set: Created April 14, 2014, 9:12 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 | ext/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/common.js
===================================================================
--- a/chrome/ext/common.js
+++ b/chrome/ext/common.js
@@ -39,7 +39,7 @@
onMessage.addListener(function(message, sender, sendResponse)
{
- ext.onMessage._dispatch(message, wrapSender(sender), sendResponse);
+ return ext.onMessage._dispatch(message, wrapSender(sender), sendResponse);
});
};
« no previous file with comments | « no previous file | ext/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld