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

Unified Diff: ext/common.js

Issue 29573726: Issue 4580 - Replace ext.backgroundPage.sendMessage with runtime.sendMessage (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Rebase Created Oct. 13, 2017, 5:07 a.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 | « desktop-options.js ('k') | include.preload.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ext/common.js
===================================================================
--- a/ext/common.js
+++ b/ext/common.js
@@ -62,16 +62,9 @@
if (!(Symbol.iterator in StyleSheetList.prototype))
StyleSheetList.prototype[Symbol.iterator] = arrayIterator;
if (!(Symbol.iterator in CSSRuleList.prototype))
CSSRuleList.prototype[Symbol.iterator] = arrayIterator;
/* Message passing */
ext.onMessage = new ext._EventTarget();
-
-
- /* Background page */
-
- ext.backgroundPage = {
- sendMessage: chrome.runtime.sendMessage
- };
}());
« no previous file with comments | « desktop-options.js ('k') | include.preload.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld