I\'m developing an extension in Chrome, and there\'s a problem. In my inject.js, I make a request like:
chrome.extension.sendRequest({command:
The problem could be that and sendRequest() have been deprecated and replaced with onRequestsendMessage() and onMessage. Since a recent Chrome 20 update they seem to be gone completely.
The official documentation on Message Passing doesn't even mention anymore.sendRequest()
Here is a link which documents the change a little bit: http://codereview.chromium.org/9965005/