diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-02 20:42:45 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-02 20:42:45 +0000 |
commit | f9db2479a330fdee07d72c8a3d59ef7e67107a42 (patch) | |
tree | 7283bdc158532ae581df415be8121d9a5d64f7ae /WATCHLISTS | |
parent | 3892085db6bd1a63f8c7b0270c8a31e66e12c2b3 (diff) | |
download | chromium_src-f9db2479a330fdee07d72c8a3d59ef7e67107a42.zip chromium_src-f9db2479a330fdee07d72c8a3d59ef7e67107a42.tar.gz chromium_src-f9db2479a330fdee07d72c8a3d59ef7e67107a42.tar.bz2 |
Report failures when opening an extension port to the caller.
Extension ports are now disconnected if you try to open a port to something
that has no message channel listeners. This can happen e.g. if you try to open
a port to a tab that has no content scripts injected.
Also removed usage of the generic MessageInvoke by the ExtensionMessageService. Event.dispatchJSON is the only remaining user of that.
BUG=32899,120531
TEST=no
Review URL: https://chromiumcodereview.appspot.com/9963041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'WATCHLISTS')
0 files changed, 0 insertions, 0 deletions