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

Unified Diff: lib/subscriptionInit.js

Issue 29570614: Issue 5028 - Use browser namespace (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Rebase Created Oct. 13, 2017, 7:59 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
Index: lib/subscriptionInit.js
===================================================================
--- a/lib/subscriptionInit.js
+++ b/lib/subscriptionInit.js
@@ -200,17 +200,17 @@
{
FilterStorage.addSubscription(subscription);
if (subscription instanceof DownloadableSubscription &&
!subscription.lastDownload)
Synchronizer.execute(subscription);
}
if (firstRun && !Prefs.suppress_first_run_page)
- chrome.tabs.create({url: chrome.extension.getURL("firstRun.html")});
+ browser.tabs.create({url: browser.extension.getURL("firstRun.html")});
initNotifications();
}
Promise.all([FilterNotifier.once("load"),
Prefs.untilLoaded]).then(detectFirstRun)
.then(getSubscriptions)
.then(finishInitialization);
« lib/notificationHelper.js ('K') | « lib/stats.js ('k') | lib/uninstall.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld