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

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



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