From 05b835dd7316a6ea7317216eaa81bc4fead6badf Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 19 Jan 2015 18:42:58 -0500 Subject: [PATCH] started work on #105, #475, and possibly #510 --- platform/firefox/vapi-background.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 5d9b30b..9e6eb3a 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -329,6 +329,14 @@ vAPI.tabs = {}; /******************************************************************************/ +vAPI.isNoTabId = function(tabId) { + return tabId.toString() === '_'; +}; + +vAPI.noTabId = '_'; + +/******************************************************************************/ + vAPI.tabs.registerListeners = function() { // onNavigation and onUpdated handled with tabsProgressListener // onClosed - handled in windowWatcher.onTabClose