 Issue 29569615:
  Noissue - Replace ext.pages.query with tabs.query  (Closed) 
  Base URL: https://hg.adblockplus.org/adblockpluschrome/
    
  
    Issue 29569615:
  Noissue - Replace ext.pages.query with tabs.query  (Closed) 
  Base URL: https://hg.adblockplus.org/adblockpluschrome/| Index: lib/stats.js | 
| =================================================================== | 
| --- a/lib/stats.js | 
| +++ b/lib/stats.js | 
| @@ -62,20 +62,21 @@ | 
| color: badgeColor, | 
| number: blocked | 
| }); | 
| } | 
| }); | 
| Prefs.on("show_statsinicon", () => | 
| { | 
| - ext.pages.query({}, pages => | 
| + chrome.tabs.query({}, tabs => | 
| { | 
| - for (let page of pages) | 
| + for (let tab of tabs) | 
| { | 
| + let page = new ext.Page(tab); | 
| let badge = null; | 
| if (Prefs.show_statsinicon) | 
| { | 
| let blocked = blockedPerPage.get(page); | 
| if (blocked) | 
| { | 
| badge = { |