| Index: chrome/ext/background.js |
| =================================================================== |
| --- a/chrome/ext/background.js |
| +++ b/chrome/ext/background.js |
| @@ -391,6 +391,11 @@ |
| return ext.onMessage._dispatch(message, sender, sendResponse).indexOf(true) != -1; |
| }); |
| + // We have to register any listener for the onConnect event. Otherwise |
| + // you can't connect any ports. However, we need to connect from the |
| + // content script, in order to detect extension reload/disable/uninstall. |
| + chrome.runtime.onConnect.addListener(function() {}); |
|
kzar
2015/01/26 16:05:22
The comment doesn't read quite right, how about th
Sebastian Noack
2015/01/26 16:13:56
Doesn't read that much differently for me. But I g
|
| + |
| /* Storage */ |