The `tabs` argument makes this function painfull to use and report a bunch of complexity to each call to this method.
We should only wait for `browser` and retrieve tabs from browser with something like that:
`let tabs = browser.ownerDocument.defaultView.BrowserApp.tabs;`
I've seen that browser also have `getTabBrowser` but it doesn't seem to work.