[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs