[tbb-bugs] #28640 [Applications/Tor Browser]: System addon does not override app-profile addon

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 30 05:26:19 UTC 2018


#28640: System addon does not override app-profile addon
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, TorBrowserTeam201811,    |  Actual Points:
  TBA-a2                                         |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by sysrqb):

 * status:  new => needs_review


Comment:

 Replying to [comment:9 sysrqb]:
 > Replying to [comment:8 gk]:
 > > I *think* that should be all we need but `XPIProvider.jsm` code is
 quite complex. Thus, I could have missed some bit. I chose
 `uninstallAddon()` as this does a variety of things which could be useful,
 including deleting the file and I set `changed` to `true` in order to
 rebuild all databases if needed and get rid of old state. The log shows
 that Torbutton is taking from the update and no old one is initialized. It
 seems HTTPS-E and NoScript are not showing up in the menu anymore but that
 has happened on my phone before randomly. So, might just be a correlation.
 > >
 > > Feel free to use it if you think it's worthwhile. :)
 >
 > Thanks! I like this patch better than patching every place in
 XPIProvider where it reads the extensions on disk. I have a branch for
 this, but I am also see the Https-E and NoScript issue. The branch is
 `28640` in my user repo.

 Okay, I have a better patch now - same branch (sorry, rebased). This
 branch should provide a better experience on fresh installations with
 loading about:tor when the user closes the onboard screen.

 Preliminary testing looks good, and upgrades are successful. The one
 remaining bug I see occasionally is the onboarding screen is shown after
 restarting the app. That still needs some more investigation, but I don't
 think it's critical or a blocker.

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


More information about the tbb-bugs mailing list