Bug 1398974: Part 2 - Add tab listeners to webext talos add-on. r=mixedpuppy,jmaher

MozReview-Commit-ID: ADY51Di0EjN

--HG--
extra : rebase_source : 2dc3d084f625c748469dd91810592103bc7886cf
This commit is contained in:
Kris Maglione 2017-09-11 18:08:37 -07:00
parent 4652e8ce88
commit b6bee63a5f
2 changed files with 20 additions and 0 deletions

View File

@ -35,3 +35,22 @@ browser.webRequest.onErrorOccurred.addListener(
details => {
},
{urls: ["https://*/*", "http://*/*"]});
browser.tabs.onUpdated.addListener((tabId, changed, tab) => {
});
browser.tabs.onActivated.addListener(({tabId, windowId}) => {
});
browser.tabs.onCreated.addListener(tab => {
});
browser.tabs.onRemoved.addListener((tabId, removeInfo) => {
});
browser.tabs.onAttached.addListener((tabId, attachInfo) => {
});
browser.tabs.onDetached.addListener((tabId, detachInfo) => {
});

View File

@ -10,6 +10,7 @@
"permissions": [
"http://*/",
"https://*/",
"tabs",
"webRequest",
"webRequestBlocking"
],