[tor-bugs] #11083 [Tor bundles/installation]: TBB Test suite: check that tor-launcher is working

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 11 13:04:09 UTC 2014


#11083: TBB Test suite: check that tor-launcher is working
------------------------------------------+--------------------
     Reporter:  boklm                     |      Owner:  boklm
         Type:  task                      |     Status:  new
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:
Actual Points:                            |  Parent ID:  #11024
       Points:                            |
------------------------------------------+--------------------

Comment (by mcs):

 In addition to TorProcessStatus, you may also find it useful to access the
 TorIsBootstrapDone property.  Both are part of the tl-process component,
 e.g.,
 {{{
 var svc = Cc["@torproject.org/torlauncher-process-service;1"]
             .getService(Ci.nsISupports);
 var torProcessService = svc.wrappedJSObject;
 if (torProcessService.TorIsBootstrapDone)
 {
   // do something here
 }
 }}}

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


More information about the tor-bugs mailing list