diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 7272b8eac..0eea90a52 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -331,25 +331,8 @@ var tabWatcher = { }, onTabSelect: function({target}) { - // target is tab in Firefox, browser in Fennec - var browser = (target.linkedBrowser || target); - var URI = browser.currentURI; - var aboutPath = URI.schemeIs('about') && URI.path; - var tabId = vAPI.tabs.getTabId(target); - - if ( !aboutPath || (aboutPath !== 'blank' && aboutPath !== 'newtab') ) { - vAPI.setIcon(tabId, getOwnerWindow(target)); - return; - } - - if ( browser.webNavigation.busyFlags === 0 || /*BUSY_FLAGS_NONE*/ - browser.webNavigation.busyFlags === undefined) { - vAPI.tabs.onNavigation({ - frameId: 0, - tabId: tabId, - url: URI.asciiSpec - }); - } + vAPI.setIcon(vAPI.tabs.getTabId(target), getOwnerWindow(target)); + return; }, onLocationChange: function(browser, webProgress, request, location, flags) {