[tor-bugs] #15688 [- Select a component]: sdk/tabs

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 14 13:09:04 UTC 2015


#15688: sdk/tabs
----------------------------------+---------------------
 Reporter:  mabe                  |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15688>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list