Refactor code for task-specific browsers
The code in
config/chroot_local-includes/usr/local/sbin/unsafe-browser should be refactored into a shell (or whatever) library. Code-sharing would be useful for the Unsage Browser and
Feature #7725 and other task-specific browsers (LAN browser?).
#5 Updated by anonym 2014-10-21 00:06:35
- Status changed from Confirmed to In Progress
- % Done changed from 0 to 30
- Feature Branch set to bugfix/7951-refactor-chroot-browsers
I’ve pushed my WIP which refactores the low-hanging fruit. I’d like to refactor more of
configure_chroot(), but since they differ so much I’m not sure if it will turn out to much benefit.
Also, this branch heavily optimizes the startup time and memory footprint of both browsers. A simple test of the Unsafe Browser showed a 50% reduction in startup time (from the verification prompt, until the browser window appears), both in separate, fresh Tails sessions so no cache is available.