salsita/ancho — pull request #3 by bver (2012-12-20 13:01:27+00:00)
Title: As an Ancho user I want to be able to use the *chrome.tabs APIs*

This changeset represents only a basic subset of chrome.tabs.query functionality necessary for 500Friends project..
Obviously a lot of an infrastructure work must be done to fully implement the queryInfo object.

Also: We want the support of chrome.extension.sendMessage and chrome.tabs.sendMessage instead of deprecated chrome.extension.sendRequest and chrome.tabs.sendRequest.

There are some TODOs left to future implementers, the most serious are:
1. no unregistration of tab ids so tabs.query returns dead tab objects,
2. no detection of non-tab pages is available so the background page registers as a tab,
3. background sender.id should be -1 as in Google Chrome, currently it is a positive number.

Note that issues # 2 and 3 were present in the original implementation.