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

Unified Diff: chrome/ext/background.js

Issue 6393086494113792: Issue 154 - Added devtools panel showing blocked and blockable items (Closed)
Patch Set: Fixed a typo, updated dependency, tidied up some code Created Feb. 2, 2016, 1:21 p.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 | « chrome/devtools.js ('k') | chrome/ext/devtools.js » ('j') | lib/devtools.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/background.js
===================================================================
--- a/chrome/ext/background.js
+++ b/chrome/ext/background.js
@@ -531,11 +531,6 @@
return ext.onMessage._dispatch(message, sender, sendResponse).indexOf(true) != -1;
});
- // We have to ensure there is at least one listener for the onConnect event.
- // Otherwise we can't connect a port later, which we need to do in order to
- // detect when the extension is reloaded, disabled or uninstalled.
- chrome.runtime.onConnect.addListener(function() {});
-
/* Storage */
« no previous file with comments | « chrome/devtools.js ('k') | chrome/ext/devtools.js » ('j') | lib/devtools.js » ('J')

Powered by Google App Engine
This is Rietveld