stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

refactor: move isolation.active from preferences to storage #437

Closed rkodey closed 4 years ago

rkodey commented 4 years ago

Centralize isolation state management and storage access Add isolation helper functions getActiveState, toggleActiveState Retire unneeded helper function handleActiveState Initialize isolation before browseraction Related to #315 Closes #433

stoically commented 4 years ago

Code looks good so far, thanks! Have to think a bit about whether active should be in the preferences or not, I'll come back to it ASAP.