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

Unified Diff: background.js

Issue 6528746257383424: Issue 1708 - Integrate first-run page changes in Chrome/Opera/Safari (Closed)
Patch Set: Rebased again Created Dec. 19, 2014, 3:45 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 | « .hgsubstate ('k') | chrome/ext/background.js » ('j') | ext/background.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -562,19 +562,16 @@ ext.onMessage.addListener(function (msg,
if (sender.page)
{
sender.page.sendMessage(msg.payload, sendResponse);
// Return true to indicate that we want to call
// sendResponse asynchronously
return true;
}
break;
- default:
Sebastian Noack 2014/12/19 17:57:53 We discussed that earlier on IRC. So you made sure
Wladimir Palant 2014/12/19 19:38:42 Not more leaks than what we usually have (see "get
Sebastian Noack 2014/12/19 19:52:00 Mind filing that issue? :)
Wladimir Palant 2014/12/19 20:10:51 Sure: https://issues.adblockplus.org/ticket/1724
- sendResponse({});
- break;
}
});
// update icon when page changes location
ext.pages.onLoading.addListener(function(page)
{
page.sendMessage({type: "clickhide-deactivate"});
refreshIconAndContextMenu(page);
« no previous file with comments | « .hgsubstate ('k') | chrome/ext/background.js » ('j') | ext/background.js » ('J')

Powered by Google App Engine
This is Rietveld