From ef67930454a3316763fd24c9b25af255e40419d2 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 8 Apr 2015 18:46:08 -0400 Subject: [PATCH] refactored tabs/context code --- platform/chromium/vapi-background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 3dbc379..4826689 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -705,7 +705,8 @@ vAPI.onLoadAllCompleted = function() { var i = tabs.length, tab; while ( i-- ) { tab = tabs[i]; - µb.bindTabToPageStats(tab.id, tab.url); + µb.tabContextManager.commit(tab.id, tab.url); + µb.bindTabToPageStats(tab.id); // https://github.com/chrisaljoudi/uBlock/issues/129 scriptStart(tab.id); }