[tbb-bugs] #27611 [Applications/Tor Browser]: Restart Gecko after first-run

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 12 12:16:19 UTC 2018


#27611: Restart Gecko after first-run
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, tbb-torbutton,           |  Actual Points:
  TorBrowserTeam201809                           |
Parent ID:  #24855                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sysrqb):

 Unsurprisingly, this is not as easy as expected. My hope was we could use
 the built-in "Gecko:Ready" message which is dispatched after Gecko
 initializes. At that point, we could restart Gecko and complete the
 extension installation. However, there is a race condition here. The
 extensions are install async so the Gecko:Ready message is sent before the
 extensions are fully installed.

 We'll need a better method of detecting when the extension installation
 process is complete. I'll try a more naive solution now: on any dispatched
 message, check if there is a staged extension and restart Gecko if there
 is one.

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


More information about the tbb-bugs mailing list