sdk/tabs
I am writing a small Addon for the Tor Browser. I noticed that sdk/tabs is not working (Tor Browser 4.0.8 on Linux x64).
This small code example returns the number of all open tabs:
// main.js
var tabs = require("sdk/tabs"); console.log(tabs.length);
When started in Vanilla Firefox with one open tab, it returns "1". In Tor Browser it always gives 0, no matter how many tabs are open.
I came to this simple example after I noticed that attaching content scripts to tabs didn't work either, which did in Vanilla Firefox just fine. It seems that the whole sdk/tabs class is not working at all.
Trac:
Username: mabe