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

Re: [tor-bugs] #25659 [Applications/Tor Browser]: Race-condition loading add-ons in Orfox



#25659: Race-condition loading add-ons in Orfox
--------------------------------------+--------------------------
 Reporter:  sysrqb                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-mobile                |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by sysrqb):

 hm. I built a new apk with `extensions.logging.enabled = true` so we get
 logging on first-run.

 {{{
 I/Gecko   (28133): 1522192347000        addons.xpi      DEBUG   Addon
 https-everywhere@xxxxxxx will be installed as a packed xpi
 I/Gecko   (28133): 1522192347000        addons.xpi      DEBUG   Addon tor-
 browser-settings@xxxxxxxxxxxxxx will be installed as a packed xpi
 I/Gecko   (28133): 1522192347100        addons.xpi      DEBUG   Addon
 {73a6fe31-595d-460b-a920-fcc0f8843232} will be installed as a packed xpi
 I/Gecko   (28133): 1522192347100        addons.xpi      DEBUG   Staged
 install of https-everywhere@xxxxxxx from
 file:///data/data/info.guardianproject.orfox/distribution/extensions
 /https-everywhere@xxxxxxxxxxx ready; waiting for restart.
 }}}

 `Staged install of https-everywhere@xxxxxxx [...] ready; waiting for
 restart.`

 This doesn't explain why it isn't loaded after restarting the app, but
 this explains why it isn't loaded on first-run. With this install, it is
 loaded after restarting the app.

 {{{
 I/Gecko   (28760): 1522193195700        addons.xpi      DEBUG   Found
 updated metadata for https-everywhere@xxxxxxx in app-profile
 I/Gecko   (28760): 1522193195700        addons.xpi      DEBUG   Processing
 install of https-everywhere@xxxxxxx in app-profile
 }}}

 I wonder what happens if I clear the app's cache/data and start fresh, but
 toggle extension.logging.enabled so it is enabled on first-run but
 disabled on second-run. Does the logging make a difference?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25659#comment:2>
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