Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Tor Browser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,274
    • Issues 1,274
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Applications
  • Tor Browser
  • Issues
  • #15688

Closed
Open
Created Apr 14, 2015 by Trac@tracbot

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking