[tor-bugs] #20778 [Applications/Tor Browser Sandbox]: Check and download updates in the background.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Dec 24 11:33:25 UTC 2016
#20778: Check and download updates in the background.
----------------------------------------------+--------------------------
Reporter: yawning | Owner: yawning
Type: enhancement | Status: accepted
Priority: High | Milestone:
Component: Applications/Tor Browser Sandbox | Version:
Severity: Normal | Resolution:
Keywords: Yawning201612 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------------------------------+--------------------------
Comment (by yawning):
Under this model update checks will:
* Still be done solely by querying the XML thingies, instead of
`versioncheck_url` (I *could* fetch that and discard the results on a
timer, but that seems wasteful and stupid).
* Occur:
* At launch if the browser is known to be out of date (ie: The user
exited instead of restarting to apply the update, after a check indicated
that updates are available).
* At launch if it has been > 2 hours past the last check.
* Every 2 hours past the launch in the background.
* If requested by the user via the torbutton menu item.
This is fairly close (barring the check URL being different), to existing
behavior, except:
* I use a timer, torbutton triggers off "new tab" and "new window".
* I'll always wait 2 hours before hitting up the update server after
launching firefox, torbutton can end up checking earlier (I could do the
time math, if it's utterly important).
Assuming no one convinces me otherwise my plan moving forward is roughly:
1. Do the `sandboxed-tor-browser` non-UI modifications required to
support basic integration.
2. Write the torbutton changes.
3. (Maybe) Add support for downloading the MAR in the background (I might
punt on this till a future version due to time/funding constraints).
4. Do the `sandboxed-tor-browser` UI modifications, basically adding a
dialog box to the background update checker.
5. Change the behavior for old bundles that lack update integration to
something other than "annoy the user with a modal dialog box every 5
mins".
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20778#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list